]> git.lizzy.rs Git - rust.git/commit
Stabilize -Z symbol-mangling-version as -C symbol-mangling-version
authorJosh Triplett <josh@joshtriplett.org>
Thu, 21 Oct 2021 12:02:59 +0000 (14:02 +0200)
committerJosh Triplett <josh@joshtriplett.org>
Sat, 1 Jan 2022 23:51:02 +0000 (15:51 -0800)
commitbbf4b6699e41dd5a7c6d9afe4bc8d6af50afc768
tree6c8e8ad8c35ab58865f4b3d9e3ed58ec4279cbc2
parentc145692254e86974941f2c92c643a23df0f13e82
Stabilize -Z symbol-mangling-version as -C symbol-mangling-version

This allows selecting `v0` symbol-mangling without an unstable option.
Selecting `legacy` still requires -Z unstable-options.

Continue supporting -Z symbol-mangling-version for compatibility for
now, but show a deprecation warning for it.
compiler/rustc_interface/src/tests.rs
compiler/rustc_metadata/src/rmeta/encoder.rs
compiler/rustc_session/src/config.rs
compiler/rustc_session/src/options.rs
compiler/rustc_symbol_mangling/src/lib.rs