summaryrefslogtreecommitdiff
path: root/test/binaryen.js/hello-world.js
Commit message (Collapse)AuthorAgeFilesLines
* Add optimize, shrink level and debug info options to C/JS (#1357)Daniel Wirtz2018-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add optimize, shrink level and debug info options to C/JS * Add instantiate functionality for creating additional unique instances of the API * Use a workaround when running tests in node Tests misuse a module as a script by concatenating, so instead of catching this case in the library, catch it there * Update sieve test Seems optimized output changed due to running with optimize levels 2/1 now * Use the options with all pass runners * Update relooper-fuzz C-API test * Share defaults between tools and the C-API * Add a test for optimize levels * Unify node test support in check.by and auto_update_tests.py * Also add getters for optimize levels and test them * Also test debugInfo * Add debug info to C tests that used it as well * Fix missing NODEJS import in auto_update_tests * Detect node.js version (WASM support) * Update hello-world JS test (now also runs with node) * feature-test WebAssembly in node instead * Document that these options apply globally, and where * Make sure hello-world.js output doesn't differ between mozjs/node
* Provide AddImport/AddExport for each element in the C-API (#1292)Daniel Wirtz2017-11-221-1/+1
| | | | * Provide AddImport/AddExport for each element in the C-API
* New binaryen.js (#922)Alon Zakai2017-03-241-0/+53
New binaryen.js implementation, based on the C API underneath and with a JS-friendly API on top. See docs under docs/ for API details.