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

Method wasm_extended_const

crates/wasmtime/src/config.rs:1189–1192  ·  view source on GitHub ↗

Configures whether the WebAssembly extended-const [proposal] will be enabled for compilation. This is `true` by default. [proposal]: https://github.com/webassembly/extended-const

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1187 ///
1188 /// [proposal]: https://github.com/webassembly/extended-const
1189 pub fn wasm_extended_const(&mut self, enable: bool) -> &mut Self {
1190 self.wasm_features(WasmFeatures::EXTENDED_CONST, enable);
1191 self
1192 }
1193
1194 /// Configures whether the [WebAssembly stack switching
1195 /// proposal][proposal] will be enabled for compilation.

Callers 3

apply_test_configFunction · 0.80
enable_wasm_featuresMethod · 0.80
newMethod · 0.80

Calls 1

wasm_featuresMethod · 0.80

Tested by

no test coverage detected