diff --git a/README.md b/README.md index 14609dd..c5b8f76 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ The output goes to `__build\defaultlib\lib\\unknown\unknown\unkno It is `lib.ts` with the OS layer `src\lib.wasm.ts`, and no C++ wrappers: these targets have no C library. tslang links a wasm program with `--allow-undefined`, so the C functions and the wrappers' functions become imports, which the host that runs the program implements. The compiler repo's -`docs\how\wasm\test\host.mjs` is that host, for Node and browsers. There is no `gc` build, because +`tslang\test\wasm\host.mjs` is that host, for Node and browsers. There is no `gc` build, because the collector is not built for wasm. ### Android diff --git a/scripts/build_wasm.bat b/scripts/build_wasm.bat index 7542b86..b5d675d 100644 --- a/scripts/build_wasm.bat +++ b/scripts/build_wasm.bat @@ -22,7 +22,7 @@ @rem and the OS layer lib.wasm.ts only. tslang links a wasm program with --allow-undefined, so what @rem the wrappers and the C library would provide (snprintf, malloc, regexp_*, stdio_write, ...) @rem become imports from the `env` module, which the host that runs the program implements - see -@rem TypeScriptCompiler\docs\how\wasm\test\host.mjs. +@rem TypeScriptCompiler\tslang\test\wasm\host.mjs. @rem - Only the static library: a wasm program is one module. @echo off setlocal