From 67c1747482d7dad24893dbf816cb287cb26edb66 Mon Sep 17 00:00:00 2001 From: Mark Hildebrand Date: Wed, 12 Aug 2026 14:27:31 -0700 Subject: [PATCH] enable V0 mangling --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index de3f9a9172..55722bd27e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,7 @@ +# V0 becomes the default symbol mangling scheme in Rust 1.97, so this can be removed after upgrading. +[target.'cfg(all())'] +rustflags = ["-C", "symbol-mangling-version=v0"] + [target.'cfg(target_os = "windows")'] rustflags = ["-C", "control-flow-guard"]