mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
28 lines
976 B
TOML
28 lines
976 B
TOML
# These defaults are meant for users and distro maintainers building from source, without intending to make multiple changes.
|
|
[build]
|
|
# When compiling from source, you almost always want a full stage 2 build,
|
|
# which has all the latest optimizations from nightly.
|
|
build-stage = 2
|
|
test-stage = 2
|
|
doc-stage = 2
|
|
# When compiling from source, you usually want all tools.
|
|
extended = true
|
|
|
|
# Most users installing from source want to build all parts of the project from source.
|
|
[llvm]
|
|
download-ci-llvm = false
|
|
|
|
[rust]
|
|
# We have several defaults in bootstrap that depend on whether the channel is `dev` (e.g. `omit-git-hash` and `download-ci-llvm`).
|
|
# Make sure they don't get set when installing from source.
|
|
channel = "nightly"
|
|
# Never download a rustc, distributions must build a fresh compiler.
|
|
download-rustc = false
|
|
lld = true
|
|
# Build the llvm-bitcode-linker
|
|
llvm-bitcode-linker = true
|
|
|
|
[dist]
|
|
# Use better compression when preparing tarballs.
|
|
compression-profile = "balanced"
|