selfhost-verify: run_rustc all COMPLETO — toolchain rust stage-3 self-hosted (musl)

Con el stage0 musl-host, run_rustc all terminó: rustc stage-3 (host=musl, LLVM 20.1.8,
1.90.0-stable-mrustc) + cargo 1.90.0 + sysroot (294 rlibs) construidos y verificados
corriendo. El muro de proc-macros quedó roto (tinystr/displaydoc/icu nativos).

Dos snags finales arreglados (en run_rustc.patch, vs be69c74):
- Makefile:262 (hello_world FINAL): mismos flags CRT que la 172 (--target +
  -C target-feature=-crt-static -C link-self-contained=no); solo aflora al completar
  stage-2/3.
- Makefile:235 (cargo FINAL): --features vendored-openssl (openssl-sys no halla openssl
  del sistema en el devfs hermético; openssl-src lo compila desde fuente). README
  documenta ambos como snags #4 y #2(262).

NEXT: climb 1.90 -> 1.91.0 -> 1.91.1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 07:22:58 -04:00
co-authored by Claude Opus 4.8
parent 493a243762
commit 3e334ae0aa
2 changed files with 19 additions and 2 deletions
+10 -1
View File
@@ -1,5 +1,5 @@
diff --git a/run_rustc/Makefile b/run_rustc/Makefile
index e78d8c5..00162a7 100644
index e78d8c5..6acc615 100644
--- a/run_rustc/Makefile
+++ b/run_rustc/Makefile
@@ -108,7 +108,7 @@ CARGO_FLAGS := --target $(RUSTC_TARGET) -j $(PARLEVEL) --release --verbose
@@ -29,6 +29,15 @@ index e78d8c5..00162a7 100644
# ---
# Stage 2: Build a proper libstd (which includes dynamc libraries too)
@@ -232,7 +232,7 @@ endif
#
$(BINDIR)cargo: $(BINDIR)rustc
@echo [CARGO] $(RUST_SRC_RUSTC)Cargo.toml '>' $(OUTDIR)build-rustc/
- $VTMPDIR=$(abspath $(PREFIX)tmp) $(CARGO_ENV_RUSTC) $(BINDIR_S)cargo build $(CARGO_FLAGS) --manifest-path $(RUST_SRC_CARGO)Cargo.toml
+ $VTMPDIR=$(abspath $(PREFIX)tmp) $(CARGO_ENV_RUSTC) $(BINDIR_S)cargo build $(CARGO_FLAGS) --features vendored-openssl --manifest-path $(RUST_SRC_CARGO)Cargo.toml
$Vcp $(CARGO_OUTDIR_RUSTC)cargo $(BINDIR)cargo
@@ -259,7 +259,7 @@ endif
$(BINDIR)hello_world: $(RUST_SRC_HELLO) $(BINDIR)rustc $(LIBDIR)libstd.rlib
@mkdir -p $(dir $@)