various updates

This commit is contained in:
Vivian 2024-04-24 12:05:59 +02:00
parent 46151ed25b
commit f70a18723f
17 changed files with 415 additions and 116 deletions

View file

@ -28,15 +28,16 @@ in
[build]
rustc-wrapper = "${pkgs.sccache}/bin/sccache"
[target.'cfg(not(target_arch = "mips"))']
linker = "${pkgs.clang}/bin/clang"
rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold}/bin/mold"]
[profile.rust-analyzer]
inherits = "dev"
'';
# [target.'cfg(not(target_arch = "mips"))']
# linker = "${pkgs.clang}/bin/clang"
# rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold}/bin/mold"]
sessionPath = [ "$HOME/.cargo/bin" ];
};
};