1 2 3 4 5 6
[target.x86_64-unknown-linux-gnu] linker = "clang" rustflags = ["-C", "target-cpu=native", "link-arg=-fuse-ld=/path/to/mold"] [build] rustc-wrapper = "sccache"