Rollup of 24 pull requests#159957
Open
JonathanBrouwer wants to merge 85 commits into
Open
Conversation
This commit is a change for all WASI targets to use a different underlying implementation in the standard library for `thread_local!`. Previously all wasm targets, without the `atomics` feature, were funneled into the `no_threads` implementation and various fallbacks in the `thread_local` module. The upcoming `wasm32-wasip3` target, however, will actually have threads and will need different treatment. Additionally the modules that `wasm32-wasip3` needs all already work on all other WASI targets as well -- for example the `pthread_*` symbols needed to manage destructors are exposed by `wasi-libc`. The end result is that the `wasm32-wasip3` target will be "ready for threads" as soon as `wasi-libc` has support. Other targets shouldn't have any functional difference from before, too.
…ring.rs to follow the style guide
This updates the rust-version file to da86f4d.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@da86f4d Filtered ref: rust-lang/rustc-dev-guide@af919e8 Upstream diff: rust-lang/rust@390279b...da86f4d This merge was created using https://github.com/rust-lang/josh-sync.
Add warning for breakage hazard for introducing new builtin attrs
rustc-dev-guide subtree update Subtree update of `rustc-dev-guide` to rust-lang/rustc-dev-guide@f5333a6. Created using https://github.com/rust-lang/josh-sync. r? @ghost
…target, r=GuillaumeGomez Clarify that the expected runtime symbols signature is for the current target only Some of the signatures expected by our runtime symbols are slightly different from one target to the other one (`i8` vs `u8`), and while the original definition uses type alias, they are not recorded and displayed in the diagnostic. So, to avoid any ambiguity let's add a small note that the displayed signature is only for the current target. r? @GuillaumeGomez
…mejrs Fix error in diagnostic on_unmatched_args fixes rust-lang#159886
…ations, r=jhpratt spare capacity mut constification the better to allocate with
rename abort_unwind → abort_on_unwind As suggested in the tracking issue (rust-lang#130338). r? @nia-e Cc @rust-lang/libs-api
Minor `rustc_ast::ast` doc cleanups `P` is an outdated reference. `CfgAttrTrace` was updated in rust-lang#159722 Docs were formatted so that the entire paragraph doesn't show up on the module level docs (pet peeve of mine). r? @nnethercote
…ratt Update expect messages in library/core/src/ptr/non_null.rs Related issue: rust-lang#159751 Updates the expect messages in library/core/src/ptr/non_null.rs to follow the recommended style.
Contributor
Author
Contributor
Contributor
|
⌛ Trying commit be867b8 with merge 21af6ae… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/30197556597 |
rust-bors Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
Rollup of 24 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-*
Contributor
Author
|
@bors p=100 |
Contributor
|
⌛ Testing commit be867b8 with merge 2cf8b23... Workflow: https://github.com/rust-lang/rust/actions/runs/30198673182 |
rust-bors Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
…uwer Rollup of 24 pull requests Successful merges: - #159638 (bootstrap: Split the `Step` trait into multiple traits) - #159774 (rustc_trait_selection: fix trait solver hang caused by degenerate obligations) - #159837 (line-tables-only test: check that the line number matches the function name) - #159946 (Update Enzyme submodule to imporve llvm-cov) - #159617 (Fix up `#[linkage]` target checking) - #159733 (std: Switch implementations of `thread_local!` for WASI) - #159783 (Check unsafe impls on safe EIIs) - #159810 (Add tuple never coercion collection regression test) - #159821 (Update expect message using the recommended style in binary_heap module) - #159826 (Remove redundant `#[rustc_paren_sugar]` feature gate) - #159846 (Implement `str::copy_from_str`) - #159849 (rustc_parse: Stop returning `Option` from statement parsing) - #159853 (Updated expect messages for `CString` struct and method documentation) - #159875 (More cleanup in `rustc_attr_parsing`) - #159882 (Update expect messages in library/alloc/boxed.rs and library/alloc/string.rs to follow the style guide) - #159891 (Split multiline derives into std/rustc macros) - #159893 (Fix `find_attr` hygiene and `rustc_hir` cleanups) - #159895 (rustc-dev-guide subtree update) - #159902 (Clarify that the expected runtime symbols signature is for the current target only) - #159914 (Fix error in diagnostic on_unmatched_args) - #159917 (spare capacity mut constification) - #159918 (rename abort_unwind → abort_on_unwind) - #159936 (Minor `rustc_ast::ast` doc cleanups) - #159945 (Update expect messages in library/core/src/ptr/non_null.rs)
Contributor
Author
|
@bors yield |
Contributor
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #158298. |
Contributor
|
⌛ Testing commit be867b8 with merge 498038a... Workflow: https://github.com/rust-lang/rust/actions/runs/30198902294 |
rust-bors Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
…uwer Rollup of 24 pull requests Successful merges: - #159638 (bootstrap: Split the `Step` trait into multiple traits) - #159774 (rustc_trait_selection: fix trait solver hang caused by degenerate obligations) - #159837 (line-tables-only test: check that the line number matches the function name) - #159946 (Update Enzyme submodule to imporve llvm-cov) - #159617 (Fix up `#[linkage]` target checking) - #159733 (std: Switch implementations of `thread_local!` for WASI) - #159783 (Check unsafe impls on safe EIIs) - #159810 (Add tuple never coercion collection regression test) - #159821 (Update expect message using the recommended style in binary_heap module) - #159826 (Remove redundant `#[rustc_paren_sugar]` feature gate) - #159846 (Implement `str::copy_from_str`) - #159849 (rustc_parse: Stop returning `Option` from statement parsing) - #159853 (Updated expect messages for `CString` struct and method documentation) - #159875 (More cleanup in `rustc_attr_parsing`) - #159882 (Update expect messages in library/alloc/boxed.rs and library/alloc/string.rs to follow the style guide) - #159891 (Split multiline derives into std/rustc macros) - #159893 (Fix `find_attr` hygiene and `rustc_hir` cleanups) - #159895 (rustc-dev-guide subtree update) - #159902 (Clarify that the expected runtime symbols signature is for the current target only) - #159914 (Fix error in diagnostic on_unmatched_args) - #159917 (spare capacity mut constification) - #159918 (rename abort_unwind → abort_on_unwind) - #159936 (Minor `rustc_ast::ast` doc cleanups) - #159945 (Update expect messages in library/core/src/ptr/non_null.rs)
This file contains hidden or 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
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.
Successful merges:
Steptrait into multiple traits #159638 (bootstrap: Split theSteptrait into multiple traits)#[linkage]target checking #159617 (Fix up#[linkage]target checking)thread_local!for WASI #159733 (std: Switch implementations ofthread_local!for WASI)#[rustc_paren_sugar]feature gate #159826 (Remove redundant#[rustc_paren_sugar]feature gate)str::copy_from_str#159846 (Implementstr::copy_from_str)Optionfrom statement parsing #159849 (rustc_parse: Stop returningOptionfrom statement parsing)CStringstruct and method documentation #159853 (Updated expect messages forCStringstruct and method documentation)rustc_attr_parsing#159875 (More cleanup inrustc_attr_parsing)find_attrhygiene andrustc_hircleanups #159893 (Fixfind_attrhygiene andrustc_hircleanups)rustc_ast::astdoc cleanups #159936 (Minorrustc_ast::astdoc cleanups)r? @ghost
Create a similar rollup