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
{{ message }}
Repository navigation
WASI phase 1: perry-runtime builds for 32-bit (ILP32) targets #11376
perry-runtime assumes 64-bit pointers in several places that fail to compile on any ILP32 target (wasm32, and also arm64_32-apple-watchos, which has silently stopped building):
closure/box_captures.rs: FRAME_RELEASED: usize = 1 << 63, tag shift 60 on usize
These asserts exist to keep inline codegen in sync; on ILP32 they must assert the values perry-codegen/src/target_layout.rs emits for the target, not LP64 constants.
Done when: the ILP32 error family is gone from cargo check -p perry-runtime --target wasm32-wasip2 --no-default-features (remaining errors are platform-gating only, phase 2), with a note of how the check was run.
Activity
--target wasi, wasm32-wasip2) #11375perry-runtime: build for ILP32 targets; refuse ILP32 codegen (#11376)
perry-runtime: build for ILP32 targets; refuse ILP32 codegen (#11376)