Implement demangling for #[splat]#90
Merged
Merged
Conversation
wesleywiser
approved these changes
Jul 8, 2026
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 13, 2026
…rk-Simulacrum Bump rustc-demangle to 0.1.28 This PR is part of the splat lang experiment: rust-lang#153629 It brings in the changes from rust-lang/rustc-demangle#90, which encode splatted types with a `w` prefix in type mangling. This is required to fix the symbol clashes in rust-lang#158644. We need to upgrade the compiler and standard library to avoid "can't demangle" panics or errors. Some tools might work without the upgrade, but we might as well do it there as well. @rustbot label +C-enhancement +F-splat +T-compiler +A-name-mangling
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 13, 2026
…rk-Simulacrum Bump rustc-demangle to 0.1.28 This PR is part of the splat lang experiment: rust-lang#153629 It brings in the changes from rust-lang/rustc-demangle#90, which encode splatted types with a `w` prefix in type mangling. This is required to fix the symbol clashes in rust-lang#158644. We need to upgrade the compiler and standard library to avoid "can't demangle" panics or errors. Some tools might work without the upgrade, but we might as well do it there as well. @rustbot label +C-enhancement +F-splat +T-compiler +A-name-mangling
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 13, 2026
…rk-Simulacrum Bump rustc-demangle to 0.1.28 This PR is part of the splat lang experiment: rust-lang#153629 It brings in the changes from rust-lang/rustc-demangle#90, which encode splatted types with a `w` prefix in type mangling. This is required to fix the symbol clashes in rust-lang#158644. We need to upgrade the compiler and standard library to avoid "can't demangle" panics or errors. Some tools might work without the upgrade, but we might as well do it there as well. @rustbot label +C-enhancement +F-splat +T-compiler +A-name-mangling
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 13, 2026
…rk-Simulacrum Bump rustc-demangle to 0.1.28 This PR is part of the splat lang experiment: rust-lang#153629 It brings in the changes from rust-lang/rustc-demangle#90, which encode splatted types with a `w` prefix in type mangling. This is required to fix the symbol clashes in rust-lang#158644. We need to upgrade the compiler and standard library to avoid "can't demangle" panics or errors. Some tools might work without the upgrade, but we might as well do it there as well. @rustbot label +C-enhancement +F-splat +T-compiler +A-name-mangling
rust-timer
added a commit
to rust-lang/rust
that referenced
this pull request
Jul 13, 2026
Rollup merge of #159202 - teor2345:bump-rustc-demangle, r=Mark-Simulacrum Bump rustc-demangle to 0.1.28 This PR is part of the splat lang experiment: #153629 It brings in the changes from rust-lang/rustc-demangle#90, which encode splatted types with a `w` prefix in type mangling. This is required to fix the symbol clashes in #158644. We need to upgrade the compiler and standard library to avoid "can't demangle" panics or errors. Some tools might work without the upgrade, but we might as well do it there as well. @rustbot label +C-enhancement +F-splat +T-compiler +A-name-mangling
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.
This PR implements demangling for splat, and adds tests.
The symbols for the tests are from PR rust-lang/rust#158890, UI tests:
This is part of the splat lang experiment: rust-lang/rust#153629
It is needed to fix symbol clashes between function pointer types, see rust-lang/rust#158644