diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..bcc4c96 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,6 @@ +[build] +rustflags = ["-C", "target-cpu=native"] + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=mold"]