diff options
author | Alex Auvolat <alex@adnab.me> | 2023-10-10 13:56:33 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-10-10 13:56:48 +0200 |
commit | d3fffd30dcf66a9da2e466ae6274547b090313e2 (patch) | |
tree | 5d6a025d99823dc9810e0b2876c1566fdf970343 /.cargo | |
parent | e75fe2157d0973eb4320bbc87be5e54a1cb91a63 (diff) | |
download | garage-mold-linker.tar.gz garage-mold-linker.zip |
use mold linker when invoking cargo manually (not in nix build scripts)mold-linker
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..d29d6c33 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,3 @@ +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=mold"] |