|
Hello, how do TinyGo developers actually develop and test their changes in standard libraries? In the release branch (v0.37.0), I have debugged and fixed a problem #4903 in Thus I have built Thank you for any clue sticks! |
Replies: 4 comments 6 replies
|
I use the Nix flake to produce self-contained development builds. |
|
Just came across another clue here where " |
TinyGo built from source should automatically pick up the standard library packages that belong to it, no other configuration is needed. Just make sure you use the right |
|
Thanks for your hints. Should some, if not all three, occurrances of As the output of The first two scentences seem to support such a modification of the documentation: The modified section would be a direct answer to my question how (versions of) TinyGo find their standard library etc. |

This is all a bit confusing, I agree.
There are 3 different package roots:
/usr/local/go1.24.0./home/ayke/src/tinygo/tinygo.What you are referring to in the documentation is the cached GOROOT, not TINYGOROOT. The existing phrasing is correct, tough the initial "The GOROOT directory in TinyGo..." refers to the cached GOROOT which might be confusing.