From 3a448a34169154392142f97c67b841bc86a40b5c Mon Sep 17 00:00:00 2001 From: DarkSky Date: Sun, 20 Aug 2023 04:14:33 +0800 Subject: [PATCH] chore: add default cargo config --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..0b17254 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[env] +CARGO_WORKSPACE_DIR = { value = "", relative = true } + +[target.x86_64-unknown-linux-gnu] +rustflags = ["-C", "target-cpu=native"]