From 417886782fc6b90ad8979ecdc867aade49083f75 Mon Sep 17 00:00:00 2001 From: lz1998 <875543533@qq.com> Date: Tue, 21 Jun 2022 19:05:16 +0800 Subject: [PATCH] config.toml --- .cargo/config.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..fd49684 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,8 @@ +[target.i686-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] + +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] + +[target.x86_64-unknown-linux-musl] +rustflags = ["-C", "target-feature=+crt-static"] \ No newline at end of file