From adf1353f131a3c82c5d2dc0c7a067a17043059a4 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 18 Jul 2024 11:27:32 +0800 Subject: [PATCH] build: static msvc runtim on Windows --- .cargo/config.toml | 5 +++++ .taplo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..7e766c3 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] + +[target.i686-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] diff --git a/.taplo.toml b/.taplo.toml index 152417d..7621723 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -3,6 +3,6 @@ exclude = ["node_modules/**/*.toml"] # https://taplo.tamasfe.dev/configuration/formatter-options.html [formatting] align_entries = true +column_width = 180 indent_tables = true reorder_keys = true -column_width = 180