Repository navigation
Stop mangling rust_eh_personality again for now - #164855
Conversation
|
r? @adwinwhite rustbot has assigned @adwinwhite. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Some projects manually define rust_eh_personality as they use no_std on a target where libcore is compiled with panic=unwind and thus need rust_eh_personality to be present while it is only defined in libstd. These projects don't want to use unstable features and thus can't use a proper #[lang = "eh_personality"].
cdef732 to
46bc916
Compare
|
Some changes occurred in tests/ui/sanitizer cc @rcvalle |
|
Is the assumption here that this is a "temporary" revert while we figure out a path for stable support for these projects? E.g., a stable attribute or perhaps It's unfortunate if mangling it ends up blocking on build-std or similar, IMO. |
|
Yeah, this would be temporary until a better solution is found. |
|
In that case, @bors r+ r? me |
…uwer Rollup of 7 pull requests Successful merges: - #163270 (Allow simd types in improper_ctypes lint) - #164855 (Stop mangling rust_eh_personality again for now) - #153679 (When multiple traits are applicable for method, do not specialize main message to the first one that applied) - #164248 (Retroactively add missing stabilized APIs to relnotes) - #164573 (Remove remaining mentions of `Unique`) - #164824 (PassWrapper: stop setting Options.ExceptionModel on LLVM 24) - #164844 (Add tracking issue for `#![feature(char_is_xid)]`)
Rollup merge of #164855 - bjorn3:unmangle_personality, r=Mark-Simulacrum Stop mangling rust_eh_personality again for now Some projects manually define rust_eh_personality as they use no_std on a target where libcore is compiled with panic=unwind and thus need rust_eh_personality to be present while it is only defined in libstd. These projects don't want to use unstable features and thus can't use a proper #[lang = "eh_personality"]. This reverts just the symbol mangling change of #148413. It preserves all the refactors to prevent codegen backends from hard coding the symbol name, so we can easily change it back to mangled in the future again.
Some projects manually define rust_eh_personality as they use no_std on a target where libcore is compiled with panic=unwind and thus need rust_eh_personality to be present while it is only defined in libstd. These projects don't want to use unstable features and thus can't use a proper #[lang = "eh_personality"].
This reverts just the symbol mangling change of #148413. It preserves all the refactors to prevent codegen backends from hard coding the symbol name, so we can easily change it back to mangled in the future again.