From 083d4a3d8c62283dc19ece4eb4af89e49466b7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Fri, 16 Jul 2021 00:00:00 +0000 Subject: [PATCH] Use Rust symbol mangling by default --- compiler/rustc_session/src/config.rs | 2 +- src/test/codegen/{vec-shrink-panic.rs => vec-shrink-panik.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/test/codegen/{vec-shrink-panic.rs => vec-shrink-panik.rs} (100%) diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index b444f66258a8e..6811c70de8e57 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -755,7 +755,7 @@ impl DebuggingOptions { } pub fn get_symbol_mangling_version(&self) -> SymbolManglingVersion { - self.symbol_mangling_version.unwrap_or(SymbolManglingVersion::Legacy) + self.symbol_mangling_version.unwrap_or(SymbolManglingVersion::V0) } } diff --git a/src/test/codegen/vec-shrink-panic.rs b/src/test/codegen/vec-shrink-panik.rs similarity index 100% rename from src/test/codegen/vec-shrink-panic.rs rename to src/test/codegen/vec-shrink-panik.rs