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
Hi, when updating from cc version 1.1.31 to cc version 1.1.32, I fail to build ring for wasm32-unknown-unknown in github actions (see this PR with me testing different cc versions).
Specifically, ring generates "env" imports in its Wasm file:
This indicates that there's some extern "C" in ring that didn't get picked up by wasm-bindgen for some reason and made it to the final .wasm.
I'd expect there to be no such imports at all. Having these imports means it's essentially not executable by Wasm hosts such as nodejs or browsers (because they don't provide an "env" module).
Downgrading cc from 1.1.32 to 1.1.31 fixes these issues.
Of course, this sounds a lot like a ring, issue, but given that this occurs when updating ccs patch version, I would've expected that ring doesn't need to change anything to keep working, right?
I'm also out of my depth here. I'd love to help debug this, but it works on my machine, just not on github actions.
The text was updated successfully, but these errors were encountered:
Hi, when updating from cc version 1.1.31 to cc version 1.1.32, I fail to build ring for wasm32-unknown-unknown in github actions (see this PR with me testing different
cc
versions).Specifically, ring generates "env" imports in its Wasm file:
This indicates that there's some
extern "C"
inring
that didn't get picked up bywasm-bindgen
for some reason and made it to the final.wasm
.I'd expect there to be no such imports at all. Having these imports means it's essentially not executable by Wasm hosts such as nodejs or browsers (because they don't provide an "env" module).
Downgrading
cc
from1.1.32
to1.1.31
fixes these issues.Of course, this sounds a lot like a
ring
, issue, but given that this occurs when updatingcc
s patch version, I would've expected thatring
doesn't need to change anything to keep working, right?I'm also out of my depth here. I'd love to help debug this, but it works on my machine, just not on github actions.
The text was updated successfully, but these errors were encountered: