Expand description
Deterministic indexed container for the embedded Foundation bootstrap.
Structs§
- Bytecode
Bundle Module - One validated module in the shared HBX0 container format.
- Module
Source
Functions§
- compile_
bytecode_ bundle - compile_
embedded_ cli_ bundle - Compiles the immutable CLI and
code.testclosure against the already bootstrapped Foundation context. The resulting bundle is installed lazily, so a test or CLI process pays only for the namespaces it actually requires. - compile_
embedded_ foundation_ bootstrap_ bundle - compile_
embedded_ standard_ library_ bundle - Compatibility name retained for embedding hosts built against the original standard-library bundle API. The embedded artifact is now Foundation-only.
- compile_
package_ bytecode_ bundle - Compiles a package against the portable core runtime.
contextis registered for resolving imports and macros, while onlysourcesare emitted into the resulting HBX0 bundle. A source-owned Foundation package evaluatesstd.foundationfirst so its companion namespaces can resolve the root surface during their own compilation. - decode_
bytecode_ bundle - embedded_
cli_ sources - Returns the embedded CLI/test-support namespace closure in deterministic dependency order. Foundation namespaces are deliberately excluded because they are already supplied by the runtime’s Foundation artifact.
- embedded_
foundation_ bootstrap_ sources - embedded_
standard_ library_ sources - Compatibility name retained for callers that previously inspected the embedded standard-library sources.
- encode_
bytecode_ bundle - Encode modules into the deterministic, checksummed HBX0 container shared by the Rust, Truffle/native-image, and embedding runtimes.
- eval_
bytecode_ bundle - eval_
eager_ bytecode_ bundle_ with_ registries - Transactionally load a fully eager HBX0 application bundle into an embedding host’s existing namespace and protocol registries.