stef
This commit is contained in:
parent
9669e079df
commit
30ea044632
4 changed files with 19 additions and 7 deletions
|
|
@ -5,9 +5,9 @@ d = "doc --no-deps --open"
|
|||
|
||||
[build]
|
||||
target = "x86_64-unknown-linux-gnu"
|
||||
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||
# rustc-wrapper = "/path/to/sccache"
|
||||
rustflags = ["-Zthreads=0"]
|
||||
target-dir = "~/.cache/cargo/target"
|
||||
rustflags = ["-Z", "threads=8"]
|
||||
rustc-wrapper = "/path/to/sccache"
|
||||
|
||||
[unstable]
|
||||
codegen-backend = true
|
||||
|
|
@ -34,9 +34,8 @@ lto = "fat"
|
|||
# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
# linker = "musl-gcc"
|
||||
# linker = "clang"
|
||||
# rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=wild"]
|
||||
linker = "clang"
|
||||
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=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