diff options
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/config-nightly-fast-compile.toml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.cargo/config-nightly-fast-compile.toml b/.cargo/config-nightly-fast-compile.toml index 359e004..f63e319 100644 --- a/.cargo/config-nightly-fast-compile.toml +++ b/.cargo/config-nightly-fast-compile.toml @@ -8,9 +8,16 @@ debug = "line-tables-only" codegen-backend = "cranelift" [build] -rustflags = ["-Zthreads=16"] rustc-wrapper = "sccache" [target.'cfg(unix)'] linker = "clang" -rustflags = ["-Clink-arg=--ld-path=wild"] +rustflags = [ + "-Clink-arg=--ld-path=wild", + "-Zthreads=8", + + # Because Polonius is currently only enabled in nightly Rust, it is disabled here so + # that certain borrowing related compilation errors does not only occur when this + # config is not used + "-Zpolonius=off", +] |
