diff options
| author | HampusM <hampus@hampusmat.com> | 2026-08-30 06:37:20 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-08-30 06:37:20 +0200 |
| commit | 80d2cee1b457fc25c32fa780fb349c97889e0df1 (patch) | |
| tree | f9c9eebe8c6ac6d8a555bc7c35e4b9382a8b2ed3 /.cargo/config-nightly-fast-compile.toml | |
| parent | 5fbb20f595de6c62a86ae13abf094d70bf215e8b (diff) | |
build: add cargo config for ultra fast dev compilations
Diffstat (limited to '.cargo/config-nightly-fast-compile.toml')
| -rw-r--r-- | .cargo/config-nightly-fast-compile.toml | 16 |
1 files changed, 16 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..3c29665 --- /dev/null +++ b/.cargo/config-nightly-fast-compile.toml @@ -0,0 +1,16 @@ +include = ["config.toml"] + +[unstable] +codegen-backend = true + +[profile.dev] +debug = "line-tables-only" +backend = "cranelift" + +[build] +rustflags = ["-Zthreads=16"] +rustc-wrapper = "sccache" + +[target.'cfg(unix)'] +linker = "clang" +rustflags = ["-Clink-arg=--ld-path=wild"] |
