diff options
| author | Damien George <damien@micropython.org> | 2023-05-31 11:45:34 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-22 14:31:25 +1100 |
| commit | b9eb74e73b8ad7be7c3d3d2eca2b1755041f03e6 (patch) | |
| tree | 096a444c43aeee0de02186ed81abeac314c36aa1 /tests | |
| parent | 6ff3e356e2cef310ea5e6481d60163a8138c3d66 (diff) | |
webassembly/variants/pyscript: Add pyscript variant.
This commit adds a pyscript variant for use in https://pyscript.net/.
The configuration is:
- No ASYNCIFY, in order to keep the WASM size down and have good
performance.
- MICROPY_CONFIG_ROM_LEVEL_FULL_FEATURES to enable most features.
- Custom manifest that includes many of the python-stdlib libraries.
- MICROPY_GC_SPLIT_HEAP_AUTO to increase GC heap size instead of doing a
collection when memory is exhausted. This is needed because ASYNCIFY is
disabled. Instead the GC collection is run at the top-level before
executing any Python code.
- No MICROPY_VARIANT_ENABLE_JS_HOOK because there is no asynchronous
keyboard input to interrupt a running script.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
