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"]