Phase 25.1a: selfhost builder hotfix (fn rename, docs)

This commit is contained in:
nyash-codex
2025-11-15 05:42:32 +09:00
parent 8d9bbc40bd
commit 6856922374
40 changed files with 2013 additions and 72 deletions

View File

@ -63,7 +63,12 @@ name = "nyash_rust"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
# Main CLI binary - always available
# Bin layout (Stage0/Stage1)
# - Stage0: Rust bootstrap CLI (`nyash`) — OS entry, VM/LLVM core, minimal runner.
# - Stage1: Hakorune selfhost binary (`hakorune-selfhost`) is built via tools/selfhost/build_stage1.sh
# and lives under target/selfhost/, not as a Cargo [[bin]] (Phase 25.1 design).
# Main CLI binary - always available (Stage0 bootstrap)
[[bin]]
name = "nyash"
path = "src/main.rs"
@ -272,6 +277,11 @@ debug = true
[profile.release.package."nyash-net-plugin"]
opt-level = "z"
strip = true
[[bin]]
name = "hakorune-rust"
path = "src/main.rs"
[[bin]]
name = "hakorune"
path = "src/main.rs"