summaryrefslogtreecommitdiff
path: root/.cargo/config-nightly-fast-compile.toml
diff options
context:
space:
mode:
Diffstat (limited to '.cargo/config-nightly-fast-compile.toml')
-rw-r--r--.cargo/config-nightly-fast-compile.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.cargo/config-nightly-fast-compile.toml b/.cargo/config-nightly-fast-compile.toml
new file mode 100644
index 0000000..f63e319
--- /dev/null
+++ b/.cargo/config-nightly-fast-compile.toml
@@ -0,0 +1,23 @@
+include = ["config.toml"]
+
+[unstable]
+codegen-backend = true
+
+[profile.dev]
+debug = "line-tables-only"
+codegen-backend = "cranelift"
+
+[build]
+rustc-wrapper = "sccache"
+
+[target.'cfg(unix)']
+linker = "clang"
+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",
+]