gex-eject: vendor xcache.mjs, which gex.mjs now imports

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_ea9f71488b6e448da93d6c2dabf4879c
This commit is contained in:
velzieandClaude Opus 5.5 committed 2026-10-11 17:24:34 -04:00
1 parent 8a21a6e4d3
commit a2d4c96444
1 file changed
+2 -1
+2 -1
View File
@@ -132,7 +132,7 @@ pub const WEB_NT_DIR: &str = "runtime/web/nt";
/// The files of [`WEB_NT_DIR`] besides `js/`.
pub const WEB_NT_WASM: [&str; 3] = ["gex_browser.x86.shared.wasm", "gex_kernel.x86.wasm", "seed.x86.shared.wasm"];
/// The host JavaScript a Windows program's web run needs (shims/browser/js).
pub const WEB_NT_JS: [(&str, &str); 10] = [
pub const WEB_NT_JS: [(&str, &str); 11] = [
("run-node.mjs", include_str!("../../../shims/browser/js/run-node.mjs")),
("host.mjs", include_str!("../../../shims/browser/js/host.mjs")),
("worker.mjs", include_str!("../../../shims/browser/js/worker.mjs")),
@@ -143,6 +143,7 @@ pub const WEB_NT_JS: [(&str, &str); 10] = [
("net-bridge.mjs", include_str!("../../../shims/browser/js/net-bridge.mjs")),
("lazy-fetch.mjs", include_str!("../../../shims/browser/js/lazy-fetch.mjs")),
("single.mjs", include_str!("../../../shims/browser/js/single.mjs")),
("xcache.mjs", include_str!("../../../shims/browser/js/xcache.mjs")),
];
/// `run.mjs` of a Windows program's project: the web build under Node, on
/// the browser runtime a page loads (run-node.mjs), AOT-only.