diff options
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/config-nightly-fast-compile.toml | 16 | ||||
| -rw-r--r-- | .cargo/config.toml | 5 |
2 files changed, 21 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..359e004 --- /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" +codegen-backend = "cranelift" + +[build] +rustflags = ["-Zthreads=16"] +rustc-wrapper = "sccache" + +[target.'cfg(unix)'] +linker = "clang" +rustflags = ["-Clink-arg=--ld-path=wild"] diff --git a/.cargo/config.toml b/.cargo/config.toml index af130b7..eed713a 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,8 @@ +[alias] +fcheck = "run -p xtask -- execute cargo +nightly check --config .cargo/config-nightly-fast-compile.toml" +fbuild = "run -p xtask -- execute cargo +nightly build --config .cargo/config-nightly-fast-compile.toml" +frun = "run -p xtask -- execute cargo +nightly run --config .cargo/config-nightly-fast-compile.toml" + [env] SLANG_USE_PREBUILT = "1" |
