mold in rust
Lint / lint (push) Failing after 2m40s Details

new
Vivian 2024-03-19 10:27:04 +01:00
parent 86e4c4b78d
commit b7f7c8f0a3
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ 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"
'';