Skip to content

Commit ae18019

Browse files
wasmparser: Increase MAX_WASM_INSTANCE_TYPE_DECLS to 1_000_000 (#2087)
Closes: bytecodealliance/wit-bindgen#1104
1 parent 3b3e1ac commit ae18019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wasmparser/src/limits.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ mod component_limits {
6565
pub const MAX_WASM_MODULE_SIZE: usize = 1024 * 1024 * 1024; //= 1 GiB
6666
pub const MAX_WASM_MODULE_TYPE_DECLS: usize = 100_000;
6767
pub const MAX_WASM_COMPONENT_TYPE_DECLS: usize = 100_000;
68-
pub const MAX_WASM_INSTANCE_TYPE_DECLS: usize = 100_000;
68+
pub const MAX_WASM_INSTANCE_TYPE_DECLS: usize = 1_000_000;
6969
pub const MAX_WASM_RECORD_FIELDS: usize = 10_000;
7070
pub const MAX_WASM_VARIANT_CASES: usize = 10_000;
7171
pub const MAX_WASM_TUPLE_TYPES: usize = 10_000;

0 commit comments

Comments
 (0)