From 1c6dfb759baa3e41f2254c8dd860b905bf54113e Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Tue, 26 Dec 2023 12:17:18 +0000 Subject: [PATCH] use +crt-static feature instead of link-arg --- src/Rust/.cargo/config.toml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Rust/.cargo/config.toml b/src/Rust/.cargo/config.toml index 265b51f9a..a59c6d8bc 100644 --- a/src/Rust/.cargo/config.toml +++ b/src/Rust/.cargo/config.toml @@ -1,11 +1,2 @@ -# Windows 64 bit programs -[target.x86_64-pc-windows-msvc] -rustflags = [ - "-C", "link-arg=libvcruntime.lib" -] - -# Windows 32 bit programs -[target.i686-pc-windows-msvc] -rustflags = [ - "-C", "link-arg=libvcruntime.lib" -] \ No newline at end of file +[build] +rustflags = ["-C", "target-feature=+crt-static"] \ No newline at end of file