aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/post-js-header.js
Commit message (Collapse)AuthorAge
* wasm: when building in -O0 mode (typical dev mode), use -sASSERTIONS=2, else ↵stephan2025-02-09
| | | | | -sASSERTIONS=0, in response [https://github.com/emscripten-core/emscripten/pull/23629/commits/7e3e35cbff9c5688eacb3cddc5045f872d744efd|Emscripten checkin 7e3e35cbff9], which adds assertions to check for the condition reported in [https://github.com/emscripten-core/emscripten/issues/23420|Emscripten ticket 23420]. Update some unrelated JS-side internal docs. FossilOrigin-Name: 1f554610ba5d9d474ec4570bb7ca09125fd2cdfb4976530a4227cc6ebdf3a962
* Replace use of Emscripten's Module.postRun() with a custom callback so that ↵stephan2025-01-16
| | | | | we get consistent library init timing with both Emscripten 3.1.x and 4.0.x. Details and discussion are in [https://github.com/emscripten-core/emscripten/issues/23420|Emscripten ticket #23420]. FossilOrigin-Name: 4863a70ac61ff6f868429f16f0141484ea98f973fde1a9aff879252d0f1dbb6b
* Work around [https://github.com/emscripten-core/emscripten/issues/23420|a ↵stephan2025-01-15
| | | | | behavior change in emsdk 4.0.0] which breaks the load/init timing of the wasm module. FossilOrigin-Name: 00a750184bcf1a94bf4e7f1d5029a42671e87e2997ae97be07bd900d3702883d
* Internal JS doc cleanups.stephan2024-01-11
| | | FossilOrigin-Name: c8284170f66374fc528e9d6e5a03ee7321f27e80acf4360701a8b176497b7130
* Rename some JS files from X.js to X.c-pp.js to keep the maintainer, and ↵stephan2022-11-30
| | | | | downstream build customizers, aware that those files contain constructs specific to the c-pp preprocessor and will not run as-is in JS. FossilOrigin-Name: 2eade7c7b17a186735c72974c11a34798a08364861d0f307e897ba765c0a93c7
* Minor WASM build cleanups. Enable custom Module.instantiateWasm() when not ↵stephan2022-10-30
| | | | | in WASMFS mode (where it doesn't work). Add sqlite3.debugModule URL param to enable some module-init-time debugging output. FossilOrigin-Name: 50f678846a2b3c3d0818f0bae89f2ee86252a2e6a9c7029ebaae3953ca0fa14c
* Move fiddle build rules into the wasm-centric build files. Add rule to push ↵stephan2022-09-21
| | | | | wasm bits to the wasm test server. FossilOrigin-Name: 113f8204dc4ac849d5632d3de1680b6e0da871e107ef484c8d7273799bee3d88
* wasm refactoring part 2 of (apparently) 2: moved ext/fiddle/... into ↵stephan2022-08-10
ext/wasm and restructured the core API-related parts of the JS/WASM considerably. FossilOrigin-Name: 27f9da4eaaff39d1d58e9ffef7ddccf1e41b3726914f754b920e3e1fb572cba6