about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2021-10-21 14:02:59 +0200
committerJosh Triplett <josh@joshtriplett.org>2022-01-01 15:51:02 -0800
commitbbf4b6699e41dd5a7c6d9afe4bc8d6af50afc768 (patch)
tree6c8e8ad8c35ab58865f4b3d9e3ed58ec4279cbc2 /compiler/rustc_interface/src
parentc145692254e86974941f2c92c643a23df0f13e82 (diff)
downloadrust-bbf4b6699e41dd5a7c6d9afe4bc8d6af50afc768.tar.gz
rust-bbf4b6699e41dd5a7c6d9afe4bc8d6af50afc768.zip
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.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 4a181ce544d..816e770f012 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -594,6 +594,7 @@ fn test_codegen_options_tracking_hash() {
     tracked!(relocation_model, Some(RelocModel::Pic));
     tracked!(soft_float, true);
     tracked!(split_debuginfo, Some(SplitDebuginfo::Packed));
+    tracked!(symbol_mangling_version, Some(SymbolManglingVersion::V0));
     tracked!(target_cpu, Some(String::from("abc")));
     tracked!(target_feature, String::from("all the features, all of them"));
 }