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
If I remove the line _, _ = io.ReadAll(f) it succeeds but I'm not sure that's the real issue as in a larger codebase where I experienced this the problem would come and go based on other code changes (even just having another case statement could cause it).
The text was updated successfully, but these errors were encountered:
samuel
changed the title
Panic when using embed.FS
Panic building WASM target when using embed.FS
Oct 9, 2024
I'm getting a panic in interpreter.go when using TinyGo to compile to the WASM target with embed.FS.
A small test case that triggers the issue: https://github.com/samuel/tinygo-embed-panic
When I try to build using TinyGo 0.330 on macOS installed through Homebrew:
If I remove the line
_, _ = io.ReadAll(f)
it succeeds but I'm not sure that's the real issue as in a larger codebase where I experienced this the problem would come and go based on other code changes (even just having another case statement could cause it).The text was updated successfully, but these errors were encountered: