-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Do not use deprecated -Zsymbol-mangling-version in bootstrap #92516
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
Passing -Zunstable-options should be fine for stage 1+ in the case we need to set legacy. Please also add a |
b190b3b
to
f6eeaf1
Compare
f6eeaf1
to
e266cb9
Compare
Oh, I see that you already took care of it 😅 Thanks! |
@bors r+ rollup |
📌 Commit e266cb9 has been approved by |
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#91587 (core::ops::unsize: improve docs for DispatchFromDyn) - rust-lang#91907 (Allow `_` as the length of array types and repeat expressions) - rust-lang#92515 (RustWrapper: adapt for an LLVM API change) - rust-lang#92516 (Do not use deprecated -Zsymbol-mangling-version in bootstrap) - rust-lang#92530 (Move `contains` method of Option and Result lower in docs) - rust-lang#92546 (Update books) - rust-lang#92551 (rename StackPopClean::None to Root) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
-Zsymbol-mangling-version
now produces warnings unconditionally. So if you want to use legacy mangling for the compiler (new-symbol-mangling = false
inconfig.toml
), the build is now littered with warnings.However, with this change, stage 1
std
doesn't compile:Even after the bootstrap compiler is updated and it will support
-Csymbol-mangling-version
, the bootstrap code would either need to use-Z
for the legacy mangling or use-C
in combination with-Z unstable-options
(because-C
+ legacy is not allowed without the unstable options). Should we just add-Z unstable-options
tostd
compilation to resolve this?Btw I use legacy mangling because the new mangling is not supported by Hotspot.