Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up-to-date tinygo support #219

Merged
merged 8 commits into from
Dec 3, 2022
Merged

Conversation

sorenisanerd
Copy link
Contributor

@sorenisanerd sorenisanerd commented Jan 30, 2022

Since the original tinygo support was implemented, tinygo has evolved
a lot. It now supports modules, so we don't need to fiddle around with
temporary build directories and explicit "go get" calls, etc.

This patch also changes the default docker image to
tinygo/tinygo:0.22.0 which now works perfectly well for vugu's needs.

nurked and others added 5 commits January 31, 2022 10:21
fmt.Print relies on a deferred recover() to catch nil pointer
dereferences in String() calls. Tinygo does not support this at the
moment, so we need to explicitly handle it in the String() method.
Since the original tinygo support was implemented, tinygo has evolved
a lot. It now supports modules, so we don't need to fiddle around with
temporary build directories and explicit "go get" calls, etc.

This patch also changes the default docker image to
tinygo/tinygo:0.22.0 which now works perfectly well for vugu's needs.
Changing the tests in wasm-test-suite to perform the build with and
without docker. Also enabled some tests that did not work with tinygo
in the past.
This makes it easier to see where it's failing in the test output
They failed with Go 1.17 Github Actions, but I don't know if that's
because they didn't quite finish or if something actually got stuck.
The Go 1.16 run finished in 8m24, so if we reach 20 minutes, it's almost
certainly because something got stuck. Let's see.
@gedw99
Copy link

gedw99 commented Nov 20, 2022

hey @sorenisanerd @bradleypeabody

i use tnygo and so can help out if needed...

Wondering what's he status with this ?

@bradleypeabody
Copy link
Contributor

Sorry this didn't get its due attention. Overall this looks good. Is there any context on the check in vgnode.go to see if Indirect() worked in - is this fixing something specific?

Otherwise I will see if I can run all this at some point hopefully today and help verify and then merge.

@bradleypeabody bradleypeabody merged commit 62799e0 into vugu:master Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants