aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/cargo/config
diff options
context:
space:
mode:
authorLibravatar Arnold Sommerfeld <sommerfeld@strisemarx.com>2024-03-09 11:22:57 +0000
committerLibravatar Arnold Sommerfeld <sommerfeld@strisemarx.com>2024-03-09 11:22:57 +0000
commitdf2797b984772085e1a332411dfbd0c34397c9f5 (patch)
tree6afb93cdaa7eb40206130a0f8176359282224ec1 /home/.config/cargo/config
parent5c98cd7401e17cbb3545ffa6db344026f42d3069 (diff)
downloaddotfiles-df2797b984772085e1a332411dfbd0c34397c9f5.tar.gz
dotfiles-df2797b984772085e1a332411dfbd0c34397c9f5.tar.bz2
dotfiles-df2797b984772085e1a332411dfbd0c34397c9f5.zip
Add rust dev support
Diffstat (limited to 'home/.config/cargo/config')
-rw-r--r--home/.config/cargo/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/.config/cargo/config b/home/.config/cargo/config
new file mode 100644
index 0000000..cd91d7e
--- /dev/null
+++ b/home/.config/cargo/config
@@ -0,0 +1,6 @@
+[target.x86_64-unknown-linux-gnu]
+linker = "clang"
+rustflags = ["-C", "target-cpu=native", "link-arg=-fuse-ld=/path/to/mold"]
+
+[build]
+rustc-wrapper = "sccache"