diff --git a/cargo/config.toml b/cargo/config.toml index aecf592..8b59d1d 100644 --- a/cargo/config.toml +++ b/cargo/config.toml @@ -1,2 +1,6 @@ [build] rustc-wrapper = "sccache" + +[target.x86_64-unknown-linux-gnu] +linker = "/usr/bin/clang" +rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]