aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config')
-rw-r--r--home/.config/cargo/config6
-rw-r--r--home/.config/nvim/lua/custom/plugins/init.lua1
2 files changed, 7 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"
diff --git a/home/.config/nvim/lua/custom/plugins/init.lua b/home/.config/nvim/lua/custom/plugins/init.lua
index 1a789be..9f2222b 100644
--- a/home/.config/nvim/lua/custom/plugins/init.lua
+++ b/home/.config/nvim/lua/custom/plugins/init.lua
@@ -934,6 +934,7 @@ return {
},
ruff_lsp = {},
pyright = {},
+ rust_analyzer = {},
clangd = {
cmd = {
"clangd",