diff --git a/.cargo/config.toml b/.cargo/config.toml index 81711ee47..a61eccfef 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,7 @@ # On x86_64, we target the x86-64-v2 psABI, as it is a good compromise between # modern CPU instructions and compatibility. [target.x86_64-unknown-linux-gnu] -rustflags = ["-C", "target-cpu=x86-64-v2"] +rustflags = ["-C", "target-cpu=x86-64-v2", "-C", "link-arg=-fuse-ld=lld"] + +[target.aarch64-unknown-linux-gnu] +rustflags = ["-C", "link-arg=-fuse-ld=lld"]