Add WebAssembly to runtime library (#1677)

This also modifies the `ts_library_builder` to support inlining assets.

Includes integration tests from @sh7dm
This commit is contained in:
Kitson Kelly 2019-02-06 00:12:58 +11:00 committed by Ryan Dahl
parent 748b0f9c9d
commit 48fedee34e
12 changed files with 274 additions and 1 deletions

View file

@ -16,3 +16,7 @@ test(function windowWindowExists() {
test(function globalThisEqualsWindow() {
assert(globalThis === window);
});
test(function webAssemblyExists() {
assert(typeof WebAssembly.compile === "function");
});