Skip to content

Switch TLS implementation for wasi and bump SDK version to 34 - #163809

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
maxdexh:destroy-the-locals
Oct 8, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
maxdexh:destroy-the-locals

Conversation

@maxdexh

@maxdexh maxdexh commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

View all comments

Fixes #163748

Effectively reverts #160868 to unrevert the changes to wasi from #159733.

As explained in #160868, now that we use wasi-sdk-34 (since #161773), the bug in wasi-libc that motivated the workaround should no longer be an issue.

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton
r? @clarfonthey

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 5, 2026
@maxdexh
maxdexh requested a review from alexcrichton October 5, 2026 13:51
@alexcrichton

Copy link
Copy Markdown
Member

lgtm, thanks! (don't want to steal r+ tho)

@maxdexh

maxdexh commented Oct 5, 2026 •

Copy link
Copy Markdown
Member Author

Don't want or can't? The only reason I didn't r? you was that I thought you're not allowed to merge libs changes ^^

@clarfonthey

clarfonthey commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Alex isn't on the libs team but he does have r+ privileges and is a WASI target maintainer so I'm fine trusting his judgement here. (Even though, as stated, he isn't the maintainer for this WASI target.)

@bors r+ rollup

@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 341977a has been approved by clarfonthey

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 6, 2026
@clarfonthey

Copy link
Copy Markdown
Contributor

@bors r=alexcrichton,clarfonthey

@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 341977a has been approved by alexcrichton,clarfonthey

It is now in the queue for this repository.

@clarfonthey

Copy link
Copy Markdown
Contributor

@rustbot label:beta-nominated

Don't think we're doing a 1.99.1 release, but cc @rust-lang/release just in case they are and want to stable backport.

@rustbot rustbot added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 6, 2026
@theemathas theemathas added the stable-nominated Nominated for backporting to the compiler in the stable channel. label Oct 6, 2026
@tgross35

tgross35 commented Oct 6, 2026

Copy link
Copy Markdown
Member

Do we have a test for this somewhere? WASI is not currently tested in CI but I believe that was proposed for the near future.

@rust-bors

rust-bors Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

⌛ Testing commit 341977a with merge 739f332...

Workflow: https://github.com/rust-lang/rust/actions/runs/37413395042

rust-bors Bot pushed a commit that referenced this pull request Oct 6, 2026
…arfonthey

Adjust the adjustment to wasi TLS to no longer adjust

Fixes #163748

Effectively reverts #160868 to unrevert the changes to wasi from #159733. 

As explained in #160868, now that we use wasi-sdk-34 (since #161773), the bug in wasi-libc that motivated the workaround should no longer be an issue. 

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton 
r? @clarfonthey
jhpratt added a commit to jhpratt/rust that referenced this pull request Oct 6, 2026
…crichton,clarfonthey

Adjust the adjustment to wasi TLS to no longer adjust

Fixes rust-lang#163748

Effectively reverts rust-lang#160868 to unrevert the changes to wasi from rust-lang#159733.

As explained in rust-lang#160868, now that we use wasi-sdk-34 (since rust-lang#161773), the bug in wasi-libc that motivated the workaround should no longer be an issue.

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton
r? @clarfonthey
@jhpratt

jhpratt commented Oct 6, 2026

Copy link
Copy Markdown
Member

@bors yield to rollup

@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Auto build was cancelled. Cancelled workflows:

The next pull request likely to be tested is #163858.

rust-bors Bot pushed a commit that referenced this pull request Oct 6, 2026
Rollup of 3 pull requests

Successful merges:

 - #163809 (Adjust the adjustment to wasi TLS to no longer adjust)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163772 (comptime fn error: suggest wrapping in const block)
jhpratt added a commit to jhpratt/rust that referenced this pull request Oct 6, 2026
…crichton,clarfonthey

Adjust the adjustment to wasi TLS to no longer adjust

Fixes rust-lang#163748

Effectively reverts rust-lang#160868 to unrevert the changes to wasi from rust-lang#159733.

As explained in rust-lang#160868, now that we use wasi-sdk-34 (since rust-lang#161773), the bug in wasi-libc that motivated the workaround should no longer be an issue.

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton
r? @clarfonthey
rust-bors Bot pushed a commit that referenced this pull request Oct 6, 2026
Rollup of 2 pull requests

Successful merges:

 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163809 (Adjust the adjustment to wasi TLS to no longer adjust)
@maxdexh

maxdexh commented Oct 6, 2026 •

Copy link
Copy Markdown
Member Author

Do we have a test for this somewhere? WASI is not currently tested in CI but I believe that was proposed for the near future.

I think you answered your own question there ^^

As stated in the platform docs, tier 2 is "guaranteed to build", tier 1 is "guaranteed to work" :D

@tgross35

tgross35 commented Oct 6, 2026

Copy link
Copy Markdown
Member

I didn’t mean WASI-specific though, was referring to a test for this kind of destructor behavior. Which would start getting run when/if WASI is tested in CI, but still cover other platforms and local runs until then.

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 6, 2026
…crichton,clarfonthey

Adjust the adjustment to wasi TLS to no longer adjust

Fixes rust-lang#163748

Effectively reverts rust-lang#160868 to unrevert the changes to wasi from rust-lang#159733.

As explained in rust-lang#160868, now that we use wasi-sdk-34 (since rust-lang#161773), the bug in wasi-libc that motivated the workaround should no longer be an issue.

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton
r? @clarfonthey
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 7, 2026
…crichton

Switch TLS implementation for wasi and bump SDK version to 34

Fixes rust-lang#163748

Effectively reverts rust-lang#160868 to unrevert the changes to wasi from rust-lang#159733.

As explained in rust-lang#160868, now that we use wasi-sdk-34 (since rust-lang#161773), the bug in wasi-libc that motivated the workaround should no longer be an issue.

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton
r? @clarfonthey
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 23 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
@rust-bors
rust-bors Bot merged commit e43cbac into rust-lang:main Oct 8, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Oct 8, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 8, 2026
Rollup merge of #163809 - maxdexh:destroy-the-locals, r=alexcrichton

Switch TLS implementation for wasi and bump SDK version to 34

Fixes #163748

Effectively reverts #160868 to unrevert the changes to wasi from #159733.

As explained in #160868, now that we use wasi-sdk-34 (since #161773), the bug in wasi-libc that motivated the workaround should no longer be an issue.

To reflect the fact that we're now relying on version 34, I've also adjusted the minimum SDK version mentioned in the target docs.

Note: This could probably be backported to beta, but as this is only a tier 2 target, and 1.99 is already affected by the issue, I don't think this is necessary.

cc @alexcrichton
r? @clarfonthey
@clarfonthey clarfonthey added the relnotes Marks issues that should be documented in the release notes of the next release. label Oct 8, 2026
@rust-timer

Copy link
Copy Markdown

Note

This PR was benchmarked as part of triage of its containing rollup: triage URL.

Finished benchmarking commit (8c1fed7): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.3% [0.3%, 0.3%] 1
Improvements ✅
(primary)
-0.1% [-0.2%, -0.1%] 4
Improvements ✅
(secondary)
-0.2% [-0.5%, -0.1%] 15
All ❌✅ (primary) -0.1% [-0.2%, -0.1%] 4

Max RSS (memory usage)

Results (secondary -2.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.1% [-2.1%, -2.1%] 1
All ❌✅ (primary) - - 0

Cycles

Results (secondary 24.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
24.7% [23.0%, 26.4%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Binary size

This perf run didn't have relevant results for this metric.

Artifact size: 408.59 MiB -> 408.70 MiB (0.03%)

@maxdexh
maxdexh deleted the destroy-the-locals branch October 8, 2026 09:47
@JonathanBrouwer

Copy link
Copy Markdown
Member

This is noise, all PRs in the rollup have the same results

github-actions Bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Oct 10, 2026
…uwer

Rollup of 23 pull requests

Successful merges:

 - rust-lang/rust#163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - rust-lang/rust#163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - rust-lang/rust#163508 (Document the `rustc_on_unimplemented` attribute.)
 - rust-lang/rust#163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - rust-lang/rust#163863 (use the type name instead of `Self` in constructor paths again)
 - rust-lang/rust#163864 (Remove CLAUDE.md)
 - rust-lang/rust#163877 (Add regression test for duplicated rustdoc search results between std and core)
 - rust-lang/rust#163916 (Shrink `PartialRes` and its alignment)
 - rust-lang/rust#149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - rust-lang/rust#152557 (Oneshot `is_ready`)
 - rust-lang/rust#157273 (Stabilize `optimize` attribute)
 - rust-lang/rust#162000 (peel_transparent_wrappers only works on non-1ZST)
 - rust-lang/rust#163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - rust-lang/rust#163348 (perf:cache FFI safety results in improper_ctypes lint)
 - rust-lang/rust#163768 (Move more `rustdoc-html` tests in the right location)
 - rust-lang/rust#163778 (check is_indirect_first_projection when replacing in RefProp)
 - rust-lang/rust#163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - rust-lang/rust#163807 (Add `has_reliable_f16b` for Arm)
 - rust-lang/rust#163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - rust-lang/rust#163826 (Update books)
 - rust-lang/rust#163849 (ci: update to PowerShell 7.6.6)
 - rust-lang/rust#163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - rust-lang/rust#163870 (Add if-installed:auto:spellcheck to pre-push script)
bjorn3 pushed a commit to rust-lang/rustc_codegen_cranelift that referenced this pull request Oct 12, 2026
…uwer

Rollup of 23 pull requests

Successful merges:

 - rust-lang/rust#163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - rust-lang/rust#163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - rust-lang/rust#163508 (Document the `rustc_on_unimplemented` attribute.)
 - rust-lang/rust#163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - rust-lang/rust#163863 (use the type name instead of `Self` in constructor paths again)
 - rust-lang/rust#163864 (Remove CLAUDE.md)
 - rust-lang/rust#163877 (Add regression test for duplicated rustdoc search results between std and core)
 - rust-lang/rust#163916 (Shrink `PartialRes` and its alignment)
 - rust-lang/rust#149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - rust-lang/rust#152557 (Oneshot `is_ready`)
 - rust-lang/rust#157273 (Stabilize `optimize` attribute)
 - rust-lang/rust#162000 (peel_transparent_wrappers only works on non-1ZST)
 - rust-lang/rust#163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - rust-lang/rust#163348 (perf:cache FFI safety results in improper_ctypes lint)
 - rust-lang/rust#163768 (Move more `rustdoc-html` tests in the right location)
 - rust-lang/rust#163778 (check is_indirect_first_projection when replacing in RefProp)
 - rust-lang/rust#163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - rust-lang/rust#163807 (Add `has_reliable_f16b` for Arm)
 - rust-lang/rust#163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - rust-lang/rust#163826 (Update books)
 - rust-lang/rust#163849 (ci: update to PowerShell 7.6.6)
 - rust-lang/rust#163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - rust-lang/rust#163870 (Add if-installed:auto:spellcheck to pre-push script)
@cuviper cuviper mentioned this pull request Oct 13, 2026
@cuviper cuviper modified the milestones: 1.101.0, 1.100.0 Oct 13, 2026
@cuviper cuviper removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 13, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 13, 2026
[beta] backports

- Fix ICE for ambiguous candidates on method probing #162904
- Don't imply incorrect things about `Global` in the docs of `System` #163342
- make semicolon_in_expressions_from_non_local_macros not report-in-deps #163364
- Force the correct type variable to never for method resolution on an adjusted never type #163450
- Update LLVM submodule to latest release/23.x branch #163615
- Switch TLS implementation for wasi and bump SDK version to 34 #163809
- use the type name instead of `Self` in constructor paths again #163863
- Re-enable extension of bool return values on x86_64 #163917
- Add `synchronization` import lib to windows-gnullvm dist #163933
- fix(bootstrap/darwin): fix rpath for distributed LLD #163954

r? me
wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request Nov 13, 2026
Pkgsrc changes:
 * Version & checksum changes.
 * Adapt patches to match.

Upstream changes:

Version 1.100.0 (2026-11-12)
==========================

Language
--------
- [Stabilize never type]
  (rust-lang/rust#155499)
- [Lint against repeated `#[repr(..)]` attributes]
  (rust-lang/rust#157036)
- [Stabilize `extern "custom"`]
  (rust-lang/rust#158504)
- [Extend `dropping_references`, `dropping_copy_types` and
  `undropped_manually_drops` lints to `drop_in_place`]
  (rust-lang/rust#160229)
- [`unfulfilled_lint_expectations` no longer fires on
  `#[expect(dead_code)]` inside code that is covered by a dead parent's
  diagnostic] (rust-lang/rust#161005)
- [Turn the error for `repr(align)` fields in a `repr(packed)` type
  into a deny-by-default lint `aligned_fields_in_packed`]
  (rust-lang/rust#162160)
- [volatile: allow accesses to non-AM memory to trap]
  (rust-lang/rust#160564)

Compiler
--------
- [Stabilize `-Cprofile-sample-use`]
  (rust-lang/rust#155942)
- [Enable next solver by default in orphanck]
  (rust-lang/rust#160668)

Platform Support
----------------
- [`i686-pc-windows-gnu` is now a tier 2 without host tools target]
  (rust-lang/rust#161681)
- [Promote `wasm32-wasip3` to Tier 2]
  (rust-lang/rust#161940)
- [Add new Tier 3 target `powerpc64-sony-ps3`]
  (rust-lang/rust#162072)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

Libraries
---------
- [Stabilize custom allocators]
  (rust-lang/rust#156882)
- [Map `ENOTSUP` to `ErrorKind::Unsupported`]
  (rust-lang/rust#158580)
- [Fix soundness issues in `std::sys::pal::sgx::waitqueue::unsafe_list`]
  (rust-lang/rust#161334)

Stabilized APIs
---------------

- [`impl PartialEq<Cow<'_, [U]>> for Vec<T, A>`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-Vec%3CT,+A%3E)
- [`impl PartialEq<Cow<'_, [U]>> for &[T]`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26%5BT%5D)
- [`impl PartialEq<Cow<'_, [U]>> for &mut [T]`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26mut+%5BT%5D)
- [`std::alloc::Allocator`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html)
- [`std::alloc::Global`]
  (https://doc.rust-lang.org/stable/std/alloc/struct.Global.html)
- [`std::alloc::System`]
  (https://doc.rust-lang.org/stable/std/alloc/struct.System.html)
- [`impl Allocator for Global`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Global)
- [`impl Allocator for System`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-System)
- [`impl<A: Allocator> Allocator for &A`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26A)
- [`impl<T: Allocator, A: Allocator> Allocator for Box<T, A>`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Box%3CT,+A%3E)
- [`impl<A: Allocator> Allocator for &mut A`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26mut+A)
- [`impl<T: Allocator, A: Allocator> Allocator for Arc<T, A>`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Arc%3CT,+A%3E)
- [`impl<T: Allocator, A: Allocator> Allocator for Rc<T, A>`]
  (https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Rc%3CT,+A%3E)
- [`Box::new_in`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_in)
- [`Box::from_raw_in`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_raw_in)
- [`Box::from_non_null_in`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_non_null_in)
- [`Box::into_raw_with_allocator`]
  (https://doc.rust-lang.org/std/std/boxed/struct.Box.html#method.into_raw_with_allocator)
- [`Box::into_non_null_with_allocator`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_non_null_with_allocator)
- [`Box::allocator`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.allocator)
- [`Vec::new_in`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.new_in)
- [`Vec::with_capacity_in`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.with_capacity_in)
- [`Vec::from_raw_parts_in`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_raw_parts_in)
- [`Vec::from_parts_in`]
  (https://doc.rust-lang.org/stable/stable/vec/struct.Vec.html#method.from_parts_in)
- [`Vec::into_raw_parts_with_allocator`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_raw_parts_with_allocator)
- [`Vec::into_parts_with_allocator`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_parts_with_allocator)
- [`Vec::allocator`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.allocator)
- [`Child::main_thread_handle`]
  (https://doc.rust-lang.org/stable/std/os/windows/process/trait.ChildExt.html#tymethod.main_thread_handle)
- [`impl Default for std::sync::Once`]
  (https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-Default-for-Once)
- [`bool::toggle`]
  (https://doc.rust-lang.org/stable/std/primitive.bool.html#method.toggle)
- [`Box::take`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.take)
- [`Box::map`]
  (https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.map)
- [`Rc::map`]
  (https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.map)
- [`Arc::map`]
  (https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.map)
- [`impl AsRef<T> for !`]
  (https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsRef<T>-for-!)
- [`impl AsMut<T> for !`]
  (https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsMut<T>-for-!)
- [`core::mem::DropGuard`]
  (https://doc.rust-lang.org/stable/core/mem/struct.DropGuard.html)
- [`core::mem::conjure_zst`]
  (https://doc.rust-lang.org/stable/core/mem/fn.conjure_zst.html)
- [`UnsafeCell::replace`]
  (https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.replace)
- [`UnsafeCell::as_ref_unchecked`]
  (https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_ref_unchecked)
- [`UnsafeCell::as_mut_unchecked`]
  (https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_mut_unchecked)
- [`str::trim_prefix`]
  (https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_prefix)
- [`str::trim_suffix`]
  (https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_suffix)
- [`[T]::trim_prefix`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_prefix)
- [`[T]::trim_suffix`]
  (https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_suffix)
- [`Path::trim_prefix`]
  (https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.trim_prefix)
- [`Vec::from_fn`]
  (https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_fn)
- [`os::windows::process::CommandExt::show_window`]
  (https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html#tymethod.show_window)

Cargo
-----
- Introduced Cargo's own linting system: some Cargo warnings are
  now emitted as lints that users can control in the `[lints.cargo]`
  table. This includes a new built-in unused dependency check via
  the `cargo::unused_dependencies` lint.
  [docs](https://doc.rust-lang.org/stable/cargo/reference/lints.html)
  [#17298](rust-lang/cargo#17298)
- Introduced minimum publish age configurations, also known as
  dependency cooldowns. When the relevant config is set, the resolver
  ignores versions published more recently than that, unless they
  are already in `Cargo.lock`. ([RFC 3923]
  (https://rust-lang.github.io/rfcs/3923-cargo-min-publish-age.html))
  [docs]
  (https://doc.rust-lang.org/stable/cargo/reference/resolver.html#publish-age)
  [#17335]
  (rust-lang/cargo#17335)
- cargo-install: now uses the existing lockfile in the `.crate`
  tarball by default. `--locked` in cargo install becomes a no-op.
  [#17388](rust-lang/cargo#17388)
- Cargo now uses a new directory layout for intermediate build
  artifacts. Tools that inspect the build directory may need to use
  [Cargoâs JSON messages]
  (https://doc.rust-lang.org/stable/cargo/reference/external-tools.html#json-messages)
  to locate build artifacts instead of relying on the build directory
  layout. The layout is not a stable interface and is subject to
  change. ([build cache doc]
  (https://doc.rust-lang.org/stable/cargo/reference/build-cache.html))
  [#17354](rust-lang/cargo#17354)

Rustdoc
-----
- [Add new `invalid_markdown_table` rustdoc lint]
  (rust-lang/rust#159583)

Compatibility Notes
-------------------
- [Closures now more precisely capture variables used in `if let`. This may cause new errors]
  (rust-lang/rust#154210)
- [Check dyn-compatibility of trait objects in more places]
  (rust-lang/rust#154992)
- [`Infallible` is now a type alias to `!`]
  (rust-lang/rust#155499)
- [The never type fallback was changed to `!` on all editions]
  (rust-lang/rust#155499)
- [`box` patterns are no longer syntactically allowed]
  (rust-lang/rust#156749)
- [Report Query Cycle errors in more cases when computing the layout of enums with explicit discriminants]
  (rust-lang/rust#157562)
- [Always escape grapheme extenders in `str::escape_debug`]
  (rust-lang/rust#158303)
- [Make let-else respect `macro_rules` `expr` metavariable grouping]
  (rust-lang/rust#158515)
- [`Iterator::{min,max}(_by_key)` changed which `Ord` methods they use.]
  (rust-lang/rust#160203) This cannot change
  behaviour (other than being potentially faster) for types correctly
  following the [`Ord` rules]
  (https://doc.rust-lang.org/std/cmp/trait.Ord.html), but may impact
  types with inconsistent trait implementations.
- [Emit an error when trying to enable SSE/AVX on an x86 (32bit or
  64bit) softfloat target]
  (rust-lang/rust#160302)
- [Require windowed (and exception) for Xtensa ABI]
  (rust-lang/rust#160643)
- [windows-gnullvm: always link libunwind statically]
  (rust-lang/rust#160712)
- [From version 1.94 up to 1.100 a number of ARMv7-A hardfloat
  targets required the `VFPv3-D32` FPU as a minimum, as they erroneously
  had the `d32` feature in their baseline list of features. Breakage
  introduced as a result of correcting this can be fixed by passing
  `-Ctarget-feature=+d32` to Rust.]
  (rust-lang/rust#160911)
- [Change "Rust" ABI on x86 to use SSE registers if they are
  always-available for the current target]
  (rust-lang/rust#161583)
- [Make the `ambiguous_glob_imported_traits` lint fire in slightly more cases]
  (rust-lang/rust#161805)
- [Make `+fix-cortex-a53-835769` a default feature for
`aarch64-unknown-fuchsia`]
  (rust-lang/rust#161886)
- [Some impls on `Box` have been generalised to arbitrary allocators,
  which may cause new type inference errors]
  (rust-lang/rust#161946)
- [The standard library now uses Unicode version 18.0.0]
  (https://doc.rust-lang.org/stable/std/primitive.char.html#associatedconstant.UNICODE_VERSION)
- [WASI SDK version was bumped from 33 to 34]
  (rust-lang/rust#163809)
- [On ARM targets, `-Ctarget-feature`/`-Ctarget-cpu` values that
  would alter the ABI are rejected as hard errors now.]
  (rust-lang/rust#161280)

Other
-----
- [Test harness now allows passing `--test-threads` and `--color`
  multiple times, with later arguments overriding earlier ones]
  (rust-lang/rust#161312)
rwestphal added a commit to holo-routing/yang-rs that referenced this pull request Nov 14, 2026
WASI SDK 34 no longer ships libwasi-emulated-pthread: the pthread
functions of wasi-libc's single-threaded build now live in libc itself.
Linking it unconditionally made the build fail there.

Pass -D_WASI_EMULATED_PTHREAD and -lwasi-emulated-pthread to CMake, and
link the library, only when the SDK has it, so that older SDKs keep
building as before.

SDK 34 is also the one that Rust 1.100 and later need on wasm32-wasip1.
Since rust-lang/rust#163809, std keeps its thread locals in pthread
keys, and the build links against the SDK's libc rather than the one
Rust ships. With an older SDK, a program hangs, spinning in
__pthread_key_delete. Document that in WASM.md.

Signed-off-by: Renato Westphal <renatowestphal@gmail.com>
markharding pushed a commit to futo-org/Harbor that referenced this pull request Nov 17, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rust](https://rust-lang.org/) ([source](https://github.com/rust-lang/rust), [changelog](https://github.com/rust-lang/rust/blob/main/RELEASES.md)) | tools | minor | `1.99.1` → `1.100.0` |
| [rust](https://hub.docker.com/_/rust) ([source](https://github.com/rust-lang/docker-rust)) | stage | minor | `1.99-slim-trixie` → `1.100-slim-trixie` |
| [rust](https://hub.docker.com/_/rust) ([source](https://github.com/rust-lang/docker-rust)) | final | minor | `1.99-slim-trixie` → `1.100-slim-trixie` |

---

### Release Notes

<details>
<summary>rust-lang/rust (rust)</summary>

### [`v1.100.0`](https://github.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-11000-2026-11-12)

[Compare Source](rust-lang/rust@1.99.1...1.100.0)

\==========================

<a id="1.100.0-Language"></a>

## Language

- [Stabilize never type](rust-lang/rust#155499)
- [Lint against repeated `#[repr(..)]` attributes](rust-lang/rust#157036)
- [Stabilize `extern "custom"`](rust-lang/rust#158504)
- [Extend `dropping_references`, `dropping_copy_types` and `undropped_manually_drops` lints to `drop_in_place`](rust-lang/rust#160229)
- [`unfulfilled_lint_expectations` no longer fires on `#[expect(dead_code)]` inside code that is covered by a dead parent's diagnostic](rust-lang/rust#161005)
- [Turn the error for `repr(align)` fields in a `repr(packed)` type into a deny-by-default lint `aligned_fields_in_packed`](rust-lang/rust#162160)
- [volatile: allow accesses to non-AM memory to trap](rust-lang/rust#160564)

<a id="1.100.0-Compiler"></a>

## Compiler

- [Stabilize `-Cprofile-sample-use`](rust-lang/rust#155942)
- [Enable next solver by default in orphanck](rust-lang/rust#160668)

<a id="1.100.0-Platform-Support"></a>

## Platform Support

- [`i686-pc-windows-gnu` is now a tier 2 without host tools target](rust-lang/rust#161681)
- [Promote `wasm32-wasip3` to Tier 2](rust-lang/rust#161940)
- [Add new Tier 3 target `powerpc64-sony-ps3`](rust-lang/rust#162072)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

[platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html

<a id="1.100.0-Libraries"></a>

## Libraries

- [Stabilize custom allocators](rust-lang/rust#156882)
- [Map `ENOTSUP` to `ErrorKind::Unsupported`](rust-lang/rust#158580)
- [Fix soundness issues in `std::sys::pal::sgx::waitqueue::unsafe_list`](rust-lang/rust#161334)

<a id="1.100.0-Stabilized-APIs"></a>

## Stabilized APIs

- [`impl PartialEq<Cow<'_, [U]>> for Vec<T, A>`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-Vec%3CT,+A%3E)
- [`impl PartialEq<Cow<'_, [U]>> for &[T]`](https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26%5BT%5D)
- [`impl PartialEq<Cow<'_, [U]>> for &mut [T]`](https://doc.rust-lang.org/stable/std/primitive.slice.html#impl-PartialEq%3CCow%3C'_,+%5BU%5D%3E%3E-for-%26mut+%5BT%5D)
- [`std::alloc::Allocator`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html)
- [`std::alloc::Global`](https://doc.rust-lang.org/stable/std/alloc/struct.Global.html)
- [`std::alloc::System`](https://doc.rust-lang.org/stable/std/alloc/struct.System.html)
- [`impl Allocator for Global`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Global)
- [`impl Allocator for System`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-System)
- [`impl<A: Allocator> Allocator for &A`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26A)
- [`impl<T: Allocator, A: Allocator> Allocator for Box<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Box%3CT,+A%3E)
- [`impl<A: Allocator> Allocator for &mut A`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-%26mut+A)
- [`impl<T: Allocator, A: Allocator> Allocator for Arc<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Arc%3CT,+A%3E)
- [`impl<T: Allocator, A: Allocator> Allocator for Rc<T, A>`](https://doc.rust-lang.org/stable/std/alloc/trait.Allocator.html#impl-Allocator-for-Rc%3CT,+A%3E)
- [`Box::new_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.new_in)
- [`Box::from_raw_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_raw_in)
- [`Box::from_non_null_in`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.from_non_null_in)
- [`Box::into_raw_with_allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_raw_with_allocator)
- [`Box::into_non_null_with_allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_non_null_with_allocator)
- [`Box::allocator`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.allocator)
- [`Vec::new_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.new_in)
- [`Vec::with_capacity_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.with_capacity_in)
- [`Vec::from_raw_parts_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_raw_parts_in)
- [`Vec::from_parts_in`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_parts_in)
- [`Vec::into_raw_parts_with_allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_raw_parts_with_allocator)
- [`Vec::into_parts_with_allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.into_parts_with_allocator)
- [`Vec::allocator`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.allocator)
- [`Child::main_thread_handle`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.ChildExt.html#tymethod.main_thread_handle)
- [`impl Default for std::sync::Once`](https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-Default-for-Once)
- [`bool::toggle`](https://doc.rust-lang.org/stable/std/primitive.bool.html#method.toggle)
- [`Box::take`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.take)
- [`Box::map`](https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.map)
- [`Rc::map`](https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.map)
- [`Arc::map`](https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.map)
- [`impl AsRef<T> for !`](https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsRef<T>-for-!)
- [`impl AsMut<T> for !`](https://doc.rust-lang.org/stable/std/primitive.never.html#impl-AsMut<T>-for-!)
- [`core::mem::DropGuard`](https://doc.rust-lang.org/stable/core/mem/struct.DropGuard.html)
- [`core::mem::conjure_zst`](https://doc.rust-lang.org/stable/core/mem/fn.conjure_zst.html)
- [`UnsafeCell::replace`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.replace)
- [`UnsafeCell::as_ref_unchecked`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_ref_unchecked)
- [`UnsafeCell::as_mut_unchecked`](https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.as_mut_unchecked)
- [`str::trim_prefix`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_prefix)
- [`str::trim_suffix`](https://doc.rust-lang.org/stable/std/primitive.str.html#method.trim_suffix)
- [`[T]::trim_prefix`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_prefix)
- [`[T]::trim_suffix`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.trim_suffix)
- [`Path::trim_prefix`](https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.trim_prefix)
- [`Vec::from_fn`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.from_fn)
- [`os::windows::process::CommandExt::show_window`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html#tymethod.show_window)

<a id="1.100.0-Cargo"></a>

## Cargo

- Introduced Cargo's own linting system: some Cargo warnings are now emitted as lints that users can control in the `[lints.cargo]` table. This includes a new built-in unused dependency check via the `cargo::unused_dependencies` lint. [docs](https://doc.rust-lang.org/stable/cargo/reference/lints.html) [#&#8203;17298](rust-lang/cargo#17298)
- Introduced minimum publish age configurations, also known as dependency cooldowns. When the relevant config is set, the resolver ignores versions published more recently than that, unless they are already in `Cargo.lock`. ([RFC 3923](https://rust-lang.github.io/rfcs/3923-cargo-min-publish-age.html)) [docs](https://doc.rust-lang.org/stable/cargo/reference/resolver.html#publish-age) [#&#8203;17335](rust-lang/cargo#17335)
- cargo-install: now uses the existing lockfile in the `.crate` tarball by default. `--locked` in cargo install becomes a no-op. [#&#8203;17388](rust-lang/cargo#17388)
- Cargo now uses a new directory layout for intermediate build artifacts. Tools that inspect the build directory may need to use [Cargo’s JSON messages](https://doc.rust-lang.org/stable/cargo/reference/external-tools.html#json-messages) to locate build artifacts instead of relying on the build directory layout. The layout is not a stable interface and is subject to change. ([build cache doc](https://doc.rust-lang.org/stable/cargo/reference/build-cache.html)) [#&#8203;17354](rust-lang/cargo#17354)

## Rustdoc

- [Add new `invalid_markdown_table` rustdoc lint](rust-lang/rust#159583)

<a id="1.100.0-Compatibility-Notes"></a>

## Compatibility Notes

- [Closures now more precisely capture variables used in `if let`. This may cause new errors](rust-lang/rust#154210)
- [Check dyn-compatibility of trait objects in more places](rust-lang/rust#154992)
- [`Infallible` is now a type alias to `!`](rust-lang/rust#155499)
- [The never type fallback was changed to `!` on all editions](rust-lang/rust#155499)
- [`box` patterns are no longer syntactically allowed](rust-lang/rust#156749)
- [Report Query Cycle errors in more cases when computing the layout of enums with explicit discriminants](rust-lang/rust#157562)
- [Always escape grapheme extenders in `str::escape_debug`](rust-lang/rust#158303)
- [Make let-else respect `macro_rules` `expr` metavariable grouping](rust-lang/rust#158515)
- [`Iterator::{min,max}(_by_key)` changed which `Ord` methods they use.](rust-lang/rust#160203) This cannot change behaviour (other than being potentially faster) for types correctly following the [`Ord` rules](https://doc.rust-lang.org/std/cmp/trait.Ord.html), but may impact types with inconsistent trait implementations.
- [Emit an error when trying to enable SSE/AVX on an x86 (32bit or 64bit) softfloat target](rust-lang/rust#160302)
- [Require windowed (and exception) for Xtensa ABI](rust-lang/rust#160643)
- [windows-gnullvm: always link libunwind statically](rust-lang/rust#160712)
- [From version 1.94 up to 1.100 a number of ARMv7-A hardfloat targets required the `VFPv3-D32` FPU as a minimum, as they erroneously had the `d32` feature in their baseline list of features. Breakage introduced as a result of correcting this can be fixed by passing `-Ctarget-feature=+d32` to Rust.](rust-lang/rust#160911)
- [Change "Rust" ABI on x86 to use SSE registers if they are always-available for the current target](rust-lang/rust#161583)
- [Make the `ambiguous_glob_imported_traits` lint fire in slightly more cases](rust-lang/rust#161805)
- [Make `+fix-cortex-a53-835769` a default feature for `aarch64-unknown-fuchsia`](rust-lang/rust#161886)
- [Some impls on `Box` have been generalised to arbitrary allocators, which may cause new type inference errors](rust-lang/rust#161946)
- [The standard library now uses Unicode version 18.0.0](https://doc.rust-lang.org/stable/std/primitive.char.html#associatedconstant.UNICODE_VERSION)
- [WASI SDK version was bumped from 33 to 34](rust-lang/rust#163809)
- [On ARM targets, `-Ctarget-feature`/`-Ctarget-cpu` values that would alter the ABI are rejected as hard errors now.](rust-lang/rust#161280)

<a id="1.100.0-Internal-Changes"></a>

## Other

- [Test harness now allows passing `--test-threads` and `--color` multiple times, with later arguments overriding earlier ones](rust-lang/rust#161312)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjcuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNy40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2356
Reviewed-by: Thomas de Zeeuw <thomas@futo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs beta-accepted Accepted for backporting to the compiler in the beta channel. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression 1.98 → 1.99: thread_local! destructors no longer run at thread exit on wasm32-wasip1-threads