tinygo/lib
Nia Waldvogel 641dcd7c16 internal/task: use asyncify on webassembly
This change implements a new "scheduler" for WebAssembly using binaryen's asyncify transform.
This is more reliable than the current "coroutines" transform, and works with non-Go code in the call stack.

runtime (js/wasm): handle scheduler nesting

If WASM calls into JS which calls back into WASM, it is possible for the scheduler to nest.
The event from the callback must be handled immediately, so the task cannot simply be deferred to the outer scheduler.
This creates a minimal scheduler loop which is used to handle such nesting.
2021-11-14 10:49:28 +01:00
..
avr@6624554c02 avr: remove device files, use them from a subrepository 2018-09-05 12:13:33 +02:00
binaryen@96f7acf09a internal/task: use asyncify on webassembly 2021-11-14 10:49:28 +01:00
CMSIS@9fe411cef1 Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
cmsis-svd@df75ff974c esp32c3: add support for this chip 2021-09-16 20:13:04 +02:00
compiler-rt@5bc79797e1 Revert "all: use compiler-rt from the llvm-project directory" 2019-11-25 14:37:52 +01:00
musl@040c1d16b4 builder: build static binaries using musl on Linux 2021-11-04 17:15:38 +01:00
nrfx@d779b49fc5 nrfx: updare submodule to latest commit 2021-01-06 18:50:46 +01:00
picolibc@f68b8204f7 cgo: add support for stdio in picolibc and wasi-libc 2021-10-26 17:08:30 +02:00
stm32-svd@3a0b0829b7 stm32: support SPI on L4 series 2021-04-21 21:09:41 +02:00
wasi-libc@ad5133410f wasm: update wasi-libc dependency 2021-11-04 21:10:42 +01:00
picolibc-stdio.c cgo: add support for stdio in picolibc and wasi-libc 2021-10-26 17:08:30 +02:00