You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am new to TinyGo, so I decided to try it on my trusty RP2040. I cloned the repo on the release branch (which I suppose means I am on 0.28.1) to a separate repository, built LLVM myself (it didn't want to comply with my system LLVM-15 on openSUSE Tumbleweed, but oh well) and then symlinked tinygo to /usr/bin. Then I created a new project (module?) and this is the contents of hello.mod:
and this is what I get when building with tinygo build -o blink -target="pico" ./hello.go (to simplify the output a bit, I replaced my actual tinygo path with $TINYGO_PATH:
It seems like you may have compiled against golang.org/x/tools >= 0.9.0. This version started lifting struct and array constants since golang/tools@71ea8f1 and the compiler doesn't handle that in createConst yet.
Hello! I am new to TinyGo, so I decided to try it on my trusty RP2040. I cloned the repo on the release branch (which I suppose means I am on 0.28.1) to a separate repository, built LLVM myself (it didn't want to comply with my system LLVM-15 on openSUSE Tumbleweed, but oh well) and then symlinked tinygo to /usr/bin. Then I created a new project (module?) and this is the contents of hello.mod:
and this is what I get when building with
tinygo build -o blink -target="pico" ./hello.go
(to simplify the output a bit, I replaced my actual tinygo path with$TINYGO_PATH
:Is there something I'm missing? And perhaps a way to reinstall everything from the tarball if that might be the culprit. Thank you for your attention.
The text was updated successfully, but these errors were encountered: