Skip to content

Gate WebAssembly validation behind a new 'validate' feature#1532

Merged
alexcrichton merged 2 commits intobytecodealliance:mainfrom
alexcrichton:gate-validator
May 6, 2024
Merged

Gate WebAssembly validation behind a new 'validate' feature#1532
alexcrichton merged 2 commits intobytecodealliance:mainfrom
alexcrichton:gate-validator

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This commit moves all of the validation logic of wasmparser behind a new Cargo features named validate. This cuts down the dependency tree for users who only need to parse wasm files. For example wasmprinter doesn't need to validate, it only needs to parse.

Closes #1528

This commit moves all of the validation logic of `wasmparser` behind a
new Cargo features named `validate`. This cuts down the dependency tree
for users who only need to parse wasm files. For example `wasmprinter`
doesn't need to validate, it only needs to parse.

Closes bytecodealliance#1528
@alexcrichton
Copy link
Copy Markdown
Member Author

cc @Robbepop this'll likely cause conflicts with #1521, but I can help rebase too

@alexcrichton alexcrichton added this pull request to the merge queue May 6, 2024
Merged via the queue into bytecodealliance:main with commit b1ee957 May 6, 2024
@alexcrichton alexcrichton deleted the gate-validator branch May 6, 2024 16:43
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.

wasmparser: make ahash an optional dependency

2 participants