Skip to content

Commit 0d78706

Browse files
committed
Add a note about cwa_main for TinyGo
1 parent fe0c272 commit 0d78706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wasm_apps/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ To rebuild, use `npm run build` or `build.sh`.
2828
## TinyGo app
2929

3030
For TinyGo, the LED pin is currently hardcoded in the app.
31-
To rebuild, use `build.sh`.
31+
To rebuild, use `build.sh`.
32+
When using TinyGo, be sure to change the main function from `_start` to `cwa_main`.
3233

3334

3435
**Note:** for all examples, the resulting `wasm` binary is converted to a C header using `xxd`.

0 commit comments

Comments
 (0)