diff --git a/cargo/.cargo/config.toml b/cargo/.cargo/config.toml new file mode 100644 index 0000000..a55e2f5 --- /dev/null +++ b/cargo/.cargo/config.toml @@ -0,0 +1,15 @@ +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=mold"] + +[build] +rustc-wrapper = "sccache" + +[unstable] +codegen-backend = true + +[profile.debug] +codegen-backend = "cranelift" + +[profile.release] +lto = true