From df2797b984772085e1a332411dfbd0c34397c9f5 Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Sat, 9 Mar 2024 11:22:57 +0000 Subject: Add rust dev support --- home/.config/cargo/config | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 home/.config/cargo/config (limited to 'home/.config/cargo') 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" -- cgit v1.2.3-70-g09d2