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

What can I do with "too many errors" ? #12

Closed
minamz opened this issue Feb 13, 2024 · 5 comments
Closed

What can I do with "too many errors" ? #12

minamz opened this issue Feb 13, 2024 · 5 comments

Comments

@minamz
Copy link

minamz commented Feb 13, 2024

@guregu hi! ~
could you help me resolve this? just trying go build for stream but getting stopped at these errors. haven't encountered this before. also just updated go version; if that matters. Windows 11.

(sorry for posting here , but idk how else to contact you 😅 )
image
image

@guregu
Copy link
Collaborator

guregu commented Feb 13, 2024

Hello, no worries. Hmm, seems to be related to this bytecodealliance/wasmtime-go#192 (comment) (tl;dr: upgrading Go breaks the Windows wasmtime-go build?)

Easiest way to get around it would be using WSL and building it in Ubuntu etc. Just tried it and I'm getting weird errors on regular Windows but WSL works.

image

I might just switch this library to wazero which is written in Go and avoids the library dependencies that wasmtime has. It will be a little slower but a lot easier to build 🤔. For Stream the speed won't be issue because all (iirc) of the work happens during startup.

@minamz
Copy link
Author

minamz commented Feb 13, 2024

cool, thanks for the info. yeah on mac i didn't have this issue with newest go version.
good to know at least it was not some messup on my side~
probs no one on our side needs a windows fix for development atm anyway; feel free to close this i guess but pls do let us know if you update things ~

@guregu
Copy link
Collaborator

guregu commented Apr 15, 2024

The latest releases upgraded the wasmtime version so it (might) work better in Windows now. It fixes some other stuff too so might be a good idea to upgrade

@minamz
Copy link
Author

minamz commented Jul 18, 2024

hi again @guregu 🫡 i'm having the same issue nowadays.. i have a special case where we require to use windows for sth and streamapi fails to build on it.
i have tried the following go versions:
1.22.~
1.21.0
1.21.12
image

is there something else i can/should try..?
thanks in advance

@guregu
Copy link
Collaborator

guregu commented Jul 20, 2024

With the wazero switch this shouldn't happen anymore!

@guregu guregu closed this as completed Aug 12, 2024
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

No branches or pull requests

2 participants