MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / tables

Method tables

crates/wasmtime/src/runtime/limits.rs:270–273  ·  view source on GitHub ↗

The maximum number of tables that can be created for a [`Store`](crate::Store). Module instantiation will fail if this limit is exceeded. This value defaults to 10,000.

(mut self, tables: usize)

Source from the content-addressed store, hash-verified

268 ///
269 /// This value defaults to 10,000.
270 pub fn tables(mut self, tables: usize) -> Self {
271 self.0.tables = tables;
272 self
273 }
274
275 /// The maximum number of linear memories that can be created for a [`Store`](crate::Store).
276 ///

Callers 3

store_limitsMethod · 0.45
limiterMethod · 0.45
wasmtime_store_limiterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected