Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The output goes to `__build\defaultlib\lib\<wasm32|wasm64>\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
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_wasm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading