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

Method wasm_shared_everything_threads

crates/wasmtime/src/config.rs:970–973  ·  view source on GitHub ↗

Configures whether the WebAssembly [shared-everything-threads] proposal will be enabled for compilation. This feature gates extended use of the `shared` attribute on items other than memories, extra atomic instructions, and new component model intrinsics for spawning threads. It depends on the [`wasm_threads`][Self::wasm_threads] being enabled. [shared-everything-threads]: https://github.com/web

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

968 /// [shared-everything-threads]:
969 /// https://github.com/webassembly/shared-everything-threads
970 pub fn wasm_shared_everything_threads(&mut self, enable: bool) -> &mut Self {
971 self.wasm_features(WasmFeatures::SHARED_EVERYTHING_THREADS, enable);
972 self
973 }
974
975 /// Configures whether the [WebAssembly reference types proposal][proposal]
976 /// will be enabled for compilation.

Callers 1

apply_test_configFunction · 0.80

Calls 1

wasm_featuresMethod · 0.80

Tested by

no test coverage detected