-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Rollup of 7 pull requests #70943
Rollup of 7 pull requests #70943
Commits on Mar 24, 2020
-
save/restore
pessimistic_yield
when entering bodiesThis flag is used to make the execution order around `+=` operators pessimistic. Failure to save/restore the flag was causing independent async blocks to effect one another, leading to strange ICEs and failed assumptions.
Configuration menu - View commit details
-
Copy full SHA for e7f8895 - Browse repository at this point
Copy the full SHA e7f8895View commit details
Commits on Apr 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 041e170 - Browse repository at this point
Copy the full SHA 041e170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89bc236 - Browse repository at this point
Copy the full SHA 89bc236View commit details
Commits on Apr 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 87d859a - Browse repository at this point
Copy the full SHA 87d859aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd18a3 - Browse repository at this point
Copy the full SHA 9dd18a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60e9927 - Browse repository at this point
Copy the full SHA 60e9927View commit details -
Configuration menu - View commit details
-
Copy full SHA for dec9078 - Browse repository at this point
Copy the full SHA dec9078View commit details
Commits on Apr 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cd9f709 - Browse repository at this point
Copy the full SHA cd9f709View commit details -
linker: Make argument building interface in
trait Linker
richerby redirecting everything to `Command`
Configuration menu - View commit details
-
Copy full SHA for ce25dab - Browse repository at this point
Copy the full SHA ce25dabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 032462e - Browse repository at this point
Copy the full SHA 032462eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 927db7d - Browse repository at this point
Copy the full SHA 927db7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f42d81 - Browse repository at this point
Copy the full SHA 7f42d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd6fa68 - Browse repository at this point
Copy the full SHA fd6fa68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 379c255 - Browse repository at this point
Copy the full SHA 379c255View commit details -
Configuration menu - View commit details
-
Copy full SHA for b30d906 - Browse repository at this point
Copy the full SHA b30d906View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4fa45 - Browse repository at this point
Copy the full SHA 5a4fa45View commit details
Commits on Apr 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b8f416d - Browse repository at this point
Copy the full SHA b8f416dView commit details -
Implement Chain with Option fuses
The iterators are now "fused" with `Option` so we don't need separate state to track which part is already exhausted, and we may also get niche layout for `None`. We don't use the real `Fuse` adapter because its specialization for `FusedIterator` unconditionally descends into the iterator, and that could be expensive to keep revisiting stuff like nested chains. It also hurts compiler performance to add more iterator layers to `Chain`.
Configuration menu - View commit details
-
Copy full SHA for 859b8da - Browse repository at this point
Copy the full SHA 859b8daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aac107 - Browse repository at this point
Copy the full SHA 8aac107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4cffd - Browse repository at this point
Copy the full SHA 2c4cffdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8abc6 - Browse repository at this point
Copy the full SHA ce8abc6View commit details
Commits on Apr 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f6c729d - Browse repository at this point
Copy the full SHA f6c729dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f03db79 - Browse repository at this point
Copy the full SHA f03db79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 563152d - Browse repository at this point
Copy the full SHA 563152dView commit details
Commits on Apr 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 45589b5 - Browse repository at this point
Copy the full SHA 45589b5View commit details -
Rollup merge of rust-lang#67705 - lzutao:wmemchr, r=wesleywiser
Use unrolled loop for searching NULL in [u16] on Windows
Configuration menu - View commit details
-
Copy full SHA for e89cb07 - Browse repository at this point
Copy the full SHA e89cb07View commit details -
Rollup merge of rust-lang#70367 - nikomatsakis:issue-69307, r=Aaron1011
save/restore `pessimistic_yield` when entering bodies This flag is used to make the execution order around `+=` operators pessimistic. Failure to save/restore the flag was causing independent async blocks to effect one another, leading to strange ICEs and failed assumptions. Fixes rust-lang#69307 r? @Zoxc
Configuration menu - View commit details
-
Copy full SHA for ba50bc5 - Browse repository at this point
Copy the full SHA ba50bc5View commit details -
Rollup merge of rust-lang#70822 - jonas-schievink:curse-of-the-recurs…
…ion, r=ecstatic-morse Don't lint for self-recursion when the function can diverge Fixes rust-lang#54444
Configuration menu - View commit details
-
Copy full SHA for a209b4f - Browse repository at this point
Copy the full SHA a209b4fView commit details -
Rollup merge of rust-lang#70868 - petrochenkov:linkorder, r=nagisa,ma…
…ti865 rustc_codegen_ssa: Refactor construction of linker arguments And add comments. This PR doesn't reorder any linker arguments and therefore shouldn't contain any observable changes. The next goal here is to - Factor out order-independent linker arguments in the compiler code and in target specifications and pass them together. Such arguments generally apply to the whole linking session or the produced linking result rather to individual object files or libraries. - Figure out where exactly among the remaining order-dependent arguments we should place customization points like `-C link-args` and `-Z pre-link-args`. - Possibly provide command line opt-outs for options that are currently passed unconditionally (like CRT objects or arguments defined by the target spec). - Document and stabilize the customization points that are not yet stable (rust-lang#70505).
Configuration menu - View commit details
-
Copy full SHA for cefee7b - Browse repository at this point
Copy the full SHA cefee7bView commit details -
Rollup merge of rust-lang#70896 - cuviper:optional-chain, r=scottmcm
Implement Chain with Option fuses The iterators are now "fused" with `Option` so we don't need separate state to track which part is already exhausted, and we may also get niche layout for `None`. We don't use the real `Fuse` adapter because its specialization for `FusedIterator` unconditionally descends into the iterator, and that could be expensive to keep revisiting stuff like nested chains. It also hurts compiler performance to add more iterator layers to `Chain`. This change was inspired by the [proposal](https://internals.rust-lang.org/t/proposal-implement-iter-chain-using-fuse/12006) on the internals forum. This is an alternate to rust-lang#70332, directly employing some of the same `Fuse` optimizations as rust-lang#70366 and rust-lang#70750. r? @scottmcm
Configuration menu - View commit details
-
Copy full SHA for ecc4e2a - Browse repository at this point
Copy the full SHA ecc4e2aView commit details -
Rollup merge of rust-lang#70916 - Centril:track-caller-ffi, r=eddyb
Support `#[track_caller]` on functions in `extern "Rust" { ... }` Fixes rust-lang#70830 which is the follow-up to @eddyb's suggestion in rust-lang#69251 (comment) to allow `#[track_caller]` on `fn`s in FFI imports, that is, on functions in `extern "Rust" { ... }` blocks. This requires that the other side, the FFI export, also have the `#[track_caller]` attribute. Otherwise, undefined behavior is triggered and the blame lies, as usual, with the `unsafe { ... }` block which called the FFI imported function. After this PR, all forms of `fn` items with the right ABI (`"Rust"`) support `#[track_caller]`. As a drive-by, the PR also hardens the check rejecting `#[naked] #[track_caller]` such that methods and other forms of `fn` items are also considered. r? @eddyb cc @rust-lang/lang
Configuration menu - View commit details
-
Copy full SHA for 4f00396 - Browse repository at this point
Copy the full SHA 4f00396View commit details -
Rollup merge of rust-lang#70918 - tobithiel:fix_forbid_override, r=da…
…vidtwco rustc_session: forbid lints override regardless of position Addresses the regression reported in rust-lang#70819 for command line arguments, but does not address the source code flag regression.
Configuration menu - View commit details
-
Copy full SHA for 09052a6 - Browse repository at this point
Copy the full SHA 09052a6View commit details