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

Method wasm_wide_arithmetic

crates/wasmtime/src/config.rs:1022–1025  ·  view source on GitHub ↗

Configures whether the [WebAssembly wide-arithmetic][proposal] will be enabled for compilation. This feature is `false` by default. [proposal]: https://github.com/WebAssembly/wide-arithmetic

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1020 ///
1021 /// [proposal]: https://github.com/WebAssembly/wide-arithmetic
1022 pub fn wasm_wide_arithmetic(&mut self, enable: bool) -> &mut Self {
1023 self.wasm_features(WasmFeatures::WIDE_ARITHMETIC, enable);
1024 self
1025 }
1026
1027 /// Configures whether the [WebAssembly Garbage Collection
1028 /// proposal][proposal] will be enabled for compilation.

Callers 2

apply_test_configFunction · 0.45
newMethod · 0.45

Calls 1

wasm_featuresMethod · 0.80

Tested by

no test coverage detected