-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rolling up PRs in the queue #15025
Merged
Merged
Rolling up PRs in the queue #15025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Define a command :Run to compile and run the current file. This supports unnamed buffers (by writing to a temporary file). See the comment above the command definition for notes on usage. Define <D-r> and <D-R> mappings for :Run to make it easier to invoke in MacVim. Define a command :Expand to display the --pretty expanded output for the current file. This can be configured to use different pretty types. See the comment above the command definition for notes on usage. Create an autoload file and put function definitions there to speed up load time.
The `Bitwise::swap_bytes` method was also moved into the `ByteOrder` trait. This was because it works on the byte level rather than the bit level.
This reduces the complexity of the trait hierarchy.
…d mark them as deprecated
The consensus on rust-lang#14917 was that the proposed names were too long.
This patch consolidates and cleans up the task spawning APIs: * Removes the problematic `future_result` method from `std::task::TaskBuilder`, and adds a `try_future` that both spawns the task and returns a future representing its eventual result (or failure). * Removes the public `opts` field from `TaskBuilder`, instead adding appropriate builder methods to configure the task. * Adds extension traits to libgreen and libnative that add methods to `TaskBuilder` for spawning the task as a green or native thread. Previously, there was no way to benefit from the `TaskBuilder` functionality and also set the scheduler to spawn within. With this change, all task spawning scenarios are supported through the `TaskBuilder` interface. Closes rust-lang#3725. [breaking-change]
This commit brings code downstream of libstd up to date with the new TaskBuilder API.
Issue rust-lang#5275 was closed, but there still was a FIXME for it.
Fixes a codegen bug which generates illegal non-terminated LLVM block when there are wildcard pattern with guard and enum patterns in a match expression. Also refactors the code a little. Closes rust-lang#14865
Update placeholder text to make keyboard shortcuts more apparent.
Replace its usage with byte string literals, except in `bytes!()` tests. Also add a new snapshot, to be able to use the new b"foo" syntax. The src/etc/2014-06-rewrite-bytes-macros.py script automatically rewrites `bytes!()` invocations into byte string literals. Pass it filenames as arguments to generate a diff that you can inspect, or `--apply` followed by filenames to apply the changes in place. Diffs can be piped into `tip` or `pygmentize -l diff` for coloring.
Closes rust-lang#14480 (vim: Add :RustRun and associated commands) Closes rust-lang#14917 (Deprecate free-standing endian conversions in favor of methods on Int. Merge Bitwise into Int and add more bit operations.) Closes rust-lang#14981 (librustc: Use expr_ty_adjusted in trans_overloaded_call.) Closes rust-lang#14989 (std::task - Revamp TaskBuilder API) Closes rust-lang#14997 (Reject double moves out of array elements) Closes rust-lang#14998 (Vim: highlight escapes for byte literals.) Closes rust-lang#15002 (Fix FIXME rust-lang#5275) Closes rust-lang#15004 (Fix rust-lang#14865) Closes rust-lang#15007 (debuginfo: Add test case for issue rust-lang#14411.) Closes rust-lang#15012 ((doc) Change search placeholder text.) Closes rust-lang#15013 (Update compiler-rt.) Closes rust-lang#15017 (Deprecate the bytes!() macro.)
This was referenced Jun 19, 2014
lnicola
pushed a commit
to lnicola/rust
that referenced
this pull request
Jun 19, 2023
…anic, r=lnicola minor: remove commented out conflicts Follow-up to rust-lang#14989 🤦♂️
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.