tinygo/src
Dan Kegel 8dfefb46d1 wasi: do not crash if argc is 0
Instead, leave args at its default value (which provides a fake argv[0] as it has for a long time).

linux and mac do not seem affected.

Fixes #1862 (tinygo apps after v0.17.0-113-g7b761fa crash if run without argv[0])
2021-05-05 19:16:28 +02:00
..
device cortexm: disable FPU on Cortex-M4 2021-04-24 18:41:40 +02:00
examples PWM Support for atmega1280 2021-04-16 17:47:31 +02:00
internal compiler: merge runtime.typecodeID and runtime.typeInInterface 2021-03-23 14:32:33 +01:00
machine qtpy: fix i2c setting 2021-05-05 10:12:08 +02:00
os WASI & darwin: support basic file io based on libc 2021-03-28 12:37:15 +02:00
reflect reflect: implement New function 2021-04-12 14:49:26 +02:00
runtime wasi: do not crash if argc is 0 2021-05-05 19:16:28 +02:00
sync extend stdlib to allow import of more packages (#1099) 2020-06-23 11:56:28 +02:00
syscall WASI & darwin: support basic file io based on libc 2021-03-28 12:37:15 +02:00
testing testing: add Run method 2020-10-28 18:25:56 +01:00