-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 6 pull requests #91539
Rollup of 6 pull requests #91539
Conversation
This commit is intended to follow the stabilization disposition of the FCP that has now finished in rust-lang#84223. This stabilizes the ability to flag thread local initializers as `const` expressions which enables the macro to generate more efficient code for accessing it, notably removing runtime checks for initialization. More information can also be found in rust-lang#84223 as well as the tests where the feature usage was removed in this PR. Closes rust-lang#84223
environ on macos uses directly libc which has the correct signature.
…arameter, r=jackh726 Explain why `Self` is invalid in generic parameters Close rust-lang#89985. r? `@estebank`
…ars, r=nikomatsakis Postpone the evaluation of constant expressions that depend on inference variables Previously `delay_span_bug` calls were triggered once an inference variable was included in the substs of a constant that was to be evaluated. Some of these would merely have resulted in trait candidates being rejected, hence no real error was ever encountered, but the triggering of the `delay_span_bug` then caused an ICE in later stages of the compiler due to no error ever occurring. We now postpone the evaluation of these constants, so any trait obligation fulfillment will simply stall on this constant and the existing type inference machinery of the compiler handles any type errors if present. Fixes rust-lang#89320 Fixes rust-lang#89146 Fixes rust-lang#87964 Fixes rust-lang#87470 Fixes rust-lang#83288 Fixes rust-lang#83249 Fixes rust-lang#90654 I want to thank `@BoxyUwU` for cooperating on this and for providing some help. r? `@lcnr` maybe?
…, r=m-ou-se Implement VecDeque::retain_mut Part of rust-lang#90829. In rust-lang#90772, someone suggested that `retain_mut` should also be implemented on `VecDeque`. I think that it follows the same logic (coherency). So first: is it ok? Second: should I create a new feature for it or can we put it into the same one? r? `@joshtriplett`
…-const, r=m-ou-se std: Stabilize the `thread_local_const_init` feature This commit is intended to follow the stabilization disposition of the FCP that has now finished in rust-lang#84223. This stabilizes the ability to flag thread local initializers as `const` expressions which enables the macro to generate more efficient code for accessing it, notably removing runtime checks for initialization. More information can also be found in rust-lang#84223 as well as the tests where the feature usage was removed in this PR. Closes rust-lang#84223
LLVM support .insn directive Closes rust-lang#90558. See also rust-lang/llvm-project#121.
@bors r+ rollup=never p=6 |
📌 Commit 2ba5917 has been approved by |
☀️ Test successful - checks-actions |
📣 Toolstate changed by #91539! Tested on commit 5e93f6e. 💔 miri on windows: test-pass → test-fail (cc @RalfJung @eddyb @oli-obk). |
Tested on commit rust-lang/rust@5e93f6e. Direct link to PR: <rust-lang/rust#91539> 💔 miri on windows: test-pass → test-fail (cc @RalfJung @eddyb @oli-obk). 💔 miri on linux: test-pass → test-fail (cc @RalfJung @eddyb @oli-obk). 💔 rls on windows: test-pass → build-fail (cc @Xanewok). 💔 rls on linux: test-pass → build-fail (cc @Xanewok).
Finished benchmarking commit (5e93f6e): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Successful merges:
Self
is invalid in generic parameters #90022 (Explain whySelf
is invalid in generic parameters)thread_local_const_init
feature #91355 (std: Stabilize thethread_local_const_init
feature)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup