-
Notifications
You must be signed in to change notification settings - Fork 14
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
Doesn't seem to work with wasm32-unknown-unknown #116
Comments
Possibly related:
|
Oh yea, that is very good point indeed. The alignment is prolly wrong. |
Hi, thanks for reporting this issue! The alignment is definitely different from the actual alignment, but that is intended; if the alignment is above a certain threshold (~4?), I think the problem is related to wasm I'll try to fix it on this weekend! |
Reproduced the issue and fixed it. Cause: the size of the I'll cleanup the change, add more tests, and then upload SCC 2.0.5 soon. |
The commit message is wrong, but the issue was fixed in 33e4fc5 |
Fixed in 2.0.5! -> Theoretically, everything shall work as expected in a 32-bit binary. |
Oh wow, thanks so much for that insanely fast turnaround! I really appreciate it 🙏 |
I tried to use
scc
for a crate that we compile towasm32-unknown-unknown
. I tried to use aHashIndex
as a static item and while it compiles just fine, it crashes at runtime if I try to insert an item.Here's what I did:
It then crashes at runtime with the following error:
Here's where it throws:
Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: