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

Method wasm_threads

crates/wasmtime/src/config.rs:955–958  ·  view source on GitHub ↗
(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

953 /// [wasi-threads]: https://github.com/webassembly/wasi-threads
954 #[cfg(feature = "threads")]
955 pub fn wasm_threads(&mut self, enable: bool) -> &mut Self {
956 self.wasm_features(WasmFeatures::THREADS, enable);
957 self
958 }
959
960 /// Configures whether the WebAssembly [shared-everything-threads] proposal
961 /// will be enabled for compilation.

Callers 5

engineFunction · 0.45
test_feature_mismatchFunction · 0.45
apply_test_configFunction · 0.45

Calls 1

wasm_featuresMethod · 0.80

Tested by 1

test_feature_mismatchFunction · 0.36