summaryrefslogtreecommitdiff
path: root/.cargo/config-nightly-fast-compile.toml
blob: f63e3196d264f2461c98fba512b273b4f3789d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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",
]