Skip to content

Commit 847d7db

Browse files
wasmparser: Increase MAX_WASM_COMPONENT_TYPE_DECLS to 1_000_000 (#2256)
1 parent f0cb97d commit 847d7db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/wasmparser/src/limits.rs

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

0 commit comments

Comments
 (0)