Skip to content

Commit

Permalink
ci: use lld and mold linker
Browse files Browse the repository at this point in the history
  • Loading branch information
vnghia committed Jan 23, 2024
1 parent e8de942 commit 0137d9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[target.'cfg(target_os = "linux")']
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

[target.'not(cfg(target_os = "linux"))']
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

0 comments on commit 0137d9e

Please sign in to comment.