configure cargo to use mold as its liknker
This commit is contained in:
4
dot_cargo/config.toml
Normal file
4
dot_cargo/config.toml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[target.'cfg(target_os = "linux")']
|
||||||
|
linker = "clang"
|
||||||
|
rustflags = ["-C", "link-arg=--ld-path=/home/joe/.local/share/mise/shims/mold"]
|
||||||
|
|
Reference in New Issue
Block a user