mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-08 05:53:51 +00:00
meta: build with Mold linker on x86_64 Linux
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id51e62dda1ec2ba895ffdbbd25c2f1256a6a6964
This commit is contained in:
parent
7683e6dfcf
commit
3ad14a95a6
2 changed files with 12 additions and 4 deletions
4
.cargo/config.toml
Normal file
4
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# https://github.com/rui314/mold?tab=readme-ov-file#how-to-use
|
||||
[target.'cfg(target_os = "linux")']
|
||||
linker = "clang"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue