Skip to content

Conversation

alexcrichton
Copy link
Member

This is a backport of #1412 to a newly created wasmparser-0.118.x branch.

Instead substitute this with `AtomicUsize` which panics on overflow to
catch any possible issues on 32-bit platforms. This is motivated by
rust-lang/rust#120588 which is pulling
`wasmparser` into the Rust compiler and `AtomicU64` is not available on
all the platforms the compiler itself is built for.

I plan on backporting this to the `0.118.x` release track as well which
is what's used by the `object` crate currently to avoid the need for a
whole bunch of cascading updates.
@alexcrichton alexcrichton merged commit f580177 into bytecodealliance:wasmparser-0.118.x Feb 12, 2024
@alexcrichton alexcrichton deleted the backport branch February 12, 2024 14:51
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

Successfully merging this pull request may close these issues.

1 participant