Skip to content

Commit ada636c

Browse files
committed
Enable LLD
1 parent 158f364 commit ada636c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.config/cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# On x86_64, we target the x86-64-v2 psABI, as it is a good compromise between
22
# modern CPU instructions and compatibility.
33
[target.x86_64-unknown-linux-gnu]
4-
rustflags = ["-C", "target-cpu=x86-64-v2"]
4+
rustflags = ["-C", "target-cpu=x86-64-v2", "-C", "link-arg=-fuse-ld=lld"]
5+
6+
[target.aarch64-unknown-linux-gnu]
7+
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

0 commit comments

Comments
 (0)