diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..664d6e8 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,13 @@ +[profile.dev] +opt-level = 1 + +[profile.dev.package."*"] +opt-level = 3 + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "target-cpu=native", "-C", + "link-arg=-fuse-ld=/usr/bin/mold"] + +[build] +rustc-wrapper = "sccache"