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

Method wasm_stack_switching

crates/wasmtime/src/config.rs:1207–1210  ·  view source on GitHub ↗

Configures whether the [WebAssembly stack switching proposal][proposal] will be enabled for compilation. This feature gates the use of control tags. This feature depends on the `function_reference_types` and `exceptions` features. This feature is `false` by default. # Errors [proposal]: https://github.com/webassembly/stack-switching

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1205 ///
1206 /// [proposal]: https://github.com/webassembly/stack-switching
1207 pub fn wasm_stack_switching(&mut self, enable: bool) -> &mut Self {
1208 self.wasm_features(WasmFeatures::STACK_SWITCHING, enable);
1209 self
1210 }
1211
1212 /// Configures whether the WebAssembly component-model [proposal] will
1213 /// be enabled for compilation.

Callers 6

wasm_export_tagsFunction · 0.80
wasm_import_tagsFunction · 0.80
apply_test_configFunction · 0.80
enable_wasm_featuresMethod · 0.80

Calls 1

wasm_featuresMethod · 0.80

Tested by 1