Frente rust, fase climb: la toolchain mrustc-bootstrapped 1.90.0 (host musl) ya sirve de stage0 para construir rust 1.91.0 con el bootstrap real (x.py). - bootstrap.toml: build/host/target=x86_64-unknown-linux-musl, stage0 rustc/cargo = prefix run_rustc 1.90.0 host-musl, LLVM 20.1.8 reusado vía llvm-config (pasa el gate >=19, sin rebuild de LLVM), crt-static=false (link dinámico contra el musl del devfs, como Alpine y la toolchain de run_rustc), rpath=true. - run-xpy.sh: corre x.py en el sandbox devfs (bind /src, /out, /mrustc) para que resuelvan los paths de stage0 + llvm-config del bootstrap.toml. - README: documenta ambos. dry-run de x.py VALIDADO (stage0 pasa el version-check minor+1, LLVM hallado, target ok). Build stage-2 de 1.91.0 EN MARCHA en background. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
# bootstrap.toml — hammer self-host climb (musl host, hermetic Alpine devfs sandbox).
|
|
# stage0 = the mrustc-bootstrapped rustc/cargo 1.90.0 (musl host); LLVM 20.1.8 reused
|
|
# externally; dynamic link against the devfs's system musl (crt-static = false), exactly
|
|
# like Alpine's own rust and the run_rustc stage-3 toolchain.
|
|
|
|
[build]
|
|
build = "x86_64-unknown-linux-musl"
|
|
host = ["x86_64-unknown-linux-musl"]
|
|
target = ["x86_64-unknown-linux-musl"]
|
|
rustc = "/mrustc/run_rustc/output-1.90.0-x86_64-unknown-linux-musl/prefix/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 = false
|
|
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"
|