Skip to content

Add bulk memory operations support#4

Open
deuszx wants to merge 1 commit intomainfrom
bulk-memory-support
Open

Add bulk memory operations support#4
deuszx wants to merge 1 commit intomainfrom
bulk-memory-support

Conversation

@deuszx
Copy link

@deuszx deuszx commented Mar 2, 2026

Expose the bulk feature from parity-wasm and handle Bulk instructions in the stack limiter's max height computation.

Part of the migration to newer toolchains.

Rust 1.87+ started emitting bulk memory operations (memory.copy, memory.fill, etc.) in its wasm32 output. These are encoded with opcode prefix 0xFC.

Expose the `bulk` feature from parity-wasm and handle Bulk instructions
in the stack limiter's max height computation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@deuszx deuszx requested a review from Twey March 2, 2026 08:24
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