diff --git a/rust/.cargo/config.toml b/rust/.cargo/config.toml index c6e0da270..d2bbe90d5 100644 --- a/rust/.cargo/config.toml +++ b/rust/.cargo/config.toml @@ -3,3 +3,8 @@ rustflags="-C force-frame-pointers=yes" [target.x86_64-unknown-linux-gnu] rustflags="-C force-frame-pointers=yes" + +# https://github.com/rust-lang/rust/issues/141626 +# (can be removed once link.exe is fixed) +[target.x86_64-pc-windows-msvc] +linker = "rust-lld"