aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/cargo/config.toml
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:16 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:16 +0100
commit1df288011674b8f4c2bcb2e8f784a81148f2a516 (patch)
treea03e38466bc7618e171d1070b40fab52d02a0b2d /home/.config/cargo/config.toml
parentbe49079efa54e90e34e244af8336be00bc48ff3c (diff)
downloaddotfiles-1df288011674b8f4c2bcb2e8f784a81148f2a516.tar.gz
dotfiles-1df288011674b8f4c2bcb2e8f784a81148f2a516.tar.bz2
dotfiles-1df288011674b8f4c2bcb2e8f784a81148f2a516.zip
chore: minor config improvements
- wget/wgetrc: move hsts-file from /tmp to ~/.local/share for XDG compliance and persistence across reboots - cargo/config: rename to config.toml (modern Cargo convention)
Diffstat (limited to 'home/.config/cargo/config.toml')
-rw-r--r--home/.config/cargo/config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/.config/cargo/config.toml b/home/.config/cargo/config.toml
new file mode 100644
index 0000000..0ef993e
--- /dev/null
+++ b/home/.config/cargo/config.toml
@@ -0,0 +1,6 @@
+[target.x86_64-unknown-linux-gnu]
+linker = "clang"
+rustflags = ["-C", "target-cpu=native", "-C", "link-arg=-fuse-ld=mold"]
+
+[build]
+rustc-wrapper = "sccache"