From 64656c3c982237e5f981782cc3ee1fd3f43150b8 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 17 Aug 2023 03:55:37 +0800 Subject: [PATCH] fix(native): static link msvc runtime on Windows (#3773) Co-authored-by: Alex Yang --- .cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..ac2b23f81 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"]