dev
This commit is contained in:
parent
517e605875
commit
b90f2addae
2 changed files with 17 additions and 27 deletions
|
|
@ -7,7 +7,7 @@ d = "doc --no-deps --open"
|
|||
target = "x86_64-unknown-linux-gnu"
|
||||
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||
rustc-wrapper = "/path/to/sccache"
|
||||
rustflags = ["-Z", "threads=8"]
|
||||
rustflags = ["-Zthreads=0"]
|
||||
|
||||
[unstable]
|
||||
codegen-backend = true
|
||||
|
|
@ -36,7 +36,7 @@ lto = "fat"
|
|||
[target.x86_64-unknown-linux-gnu]
|
||||
# linker = "musl-gcc"
|
||||
linker = "clang"
|
||||
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=-fuse-ld=mold"]
|
||||
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=-fuse-ld=wild"]
|
||||
|
||||
# jonhoo
|
||||
# https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue