all: make TinyGo code usable with "big Go" CGo

I managed to get CGo sort-of working in VSCode (meaning that it will
typecheck code in the IDE itself) using a few crude hacks, but it
requires a few minor changes to the TinyGo standard library.

I intend to eventually add this support in the TinyGo extension for
VSCode directly, but for now I've manually updated .vscode/settings.json
to get IDE support. In any case, it would be nice to have this for when
I hopefully add this to the TinyGo extension eventually.
This commit is contained in:
Ayke van Laethem
2024-01-27 18:57:29 +01:00
committed by Ron Evans
parent 36d60b8349
commit 7486277012
8 changed files with 17 additions and 5 deletions
@@ -1,3 +1,5 @@
//go:build tinygo
.section .text.tinygo_startTask
.global tinygo_startTask
.type tinygo_startTask, %function