# bootstrap.toml — hammer self-host climb hop 2 (1.91.0 -> 1.91.1), musl host.
# stage0 rustc = the installed hammer-built 1.91.0 (bound read-only at /stage0);
# stage0 cargo = the run_rustc mrustc-bootstrapped 1.90.0 cargo (1.90 satisfies
# bootstrap's "minor-1" check for a 1.91.x source). LLVM 20.1.8 reused externally.
# extended+cargo so the install includes a hammer-built cargo 1.91.1 (final toolchain).
change-id = "ignore"

[build]
build = "x86_64-unknown-linux-musl"
host = ["x86_64-unknown-linux-musl"]
target = ["x86_64-unknown-linux-musl"]
rustc = "/stage0/bin/rustc"
cargo = "/mrustc/run_rustc/output-1.90.0-x86_64-unknown-linux-musl/prefix/bin/cargo"
python = "/usr/bin/python3"
submodules = false
docs = false
extended = true
tools = ["cargo"]
# hermetic musl devfs has no system OpenSSL/curl/libgit2 → build cargo with the
# `all-static` feature set (vendored openssl/libgit2 + static curl/libz, all
# compiled from the vendored C sources via gcc). This is what bootstrap pushes
# for the cargo tool when cargo-native-static is set (prepare_tool_cargo).
cargo-native-static = true
vendor = true
locked-deps = true
verbose = 1

[rust]
channel = "stable"
download-rustc = false
lld = false
llvm-tools = false
rpath = true

[install]
prefix = "/out"
sysconfdir = "etc"

[llvm]
download-ci-llvm = false

[target.x86_64-unknown-linux-musl]
llvm-config = "/mrustc/rustc-1.90.0-src/build/bin/llvm-config"
crt-static = false
cc = "gcc"
cxx = "g++"
linker = "gcc"
