Add Rust and C++ integration points for cloning lazy function compile payloads, compiling them to GC-free bytecode off the main thread, and materializing the result later on the main thread. The cloned payload lets background compilation race with lazy main-thread compilation without sharing AST ownership between threads. Compiled function artifacts recursively include nested functions, so materialization can discard the corresponding AST subtree. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| cbindgen.toml | ||