-
Notifications
You must be signed in to change notification settings - Fork 570
fmt.Println() panics #1074
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
Comments
FWIW, I found the following on FuncPCABI0 at https://cs.opensource.google/go/go/+/master:src/internal/abi/abi.go;l=99
|
Hi @Michael-F-Ellis, thanks for a well-written report! This is probably a regression that happened when we upgraded to Go 1.17... Neither of the current maintainers use Macs, so this happens with disappointing regularity 😟 Since you are targeting browser, you can avoid this problem by building with In the longer term I started work on #693 (comment), so in some near future GopherJS will stop using darwin sources entirely. @flimzy what are your thoughts on our |
Thanks for the quick response! |
@nevkontakte I think defaulting to If we determine that's not sufficient for some people, we can consider adding proper darwin support in the future? |
Just installed
gopherjs
andgo1.17.2
on my mac. Calls to fmt.Println() are panicking in the browser. I've reduced it to the simplest possible test case:No errors or warning when transpiling. The error reported in the browser (via devtools) is:
Paths and system info:
I'm new to gopherjs (but not to Go) so this is probably some silly configuration issue but darned if I can figure it out. Any help appreciated!
The text was updated successfully, but these errors were encountered: