We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MAX_WASM_COMPONENT_TYPE_DECLS
1_000_000
1 parent f0cb97d commit 847d7dbCopy full SHA for 847d7db
1 file changed
crates/wasmparser/src/limits.rs
@@ -65,7 +65,7 @@ pub use self::component_limits::*;
65
mod component_limits {
66
pub const MAX_WASM_MODULE_SIZE: usize = 1024 * 1024 * 1024; //= 1 GiB
67
pub const MAX_WASM_MODULE_TYPE_DECLS: usize = 100_000;
68
- pub const MAX_WASM_COMPONENT_TYPE_DECLS: usize = 100_000;
+ pub const MAX_WASM_COMPONENT_TYPE_DECLS: usize = 1_000_000;
69
pub const MAX_WASM_INSTANCE_TYPE_DECLS: usize = 1_000_000;
70
pub const MAX_WASM_RECORD_FIELDS: usize = 10_000;
71
pub const MAX_WASM_VARIANT_CASES: usize = 10_000;
0 commit comments