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

Method wasm_gc

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

Source from the content-addressed store, hash-verified

1041 /// [proposal]: https://github.com/WebAssembly/gc
1042 #[cfg(feature = "gc")]
1043 pub fn wasm_gc(&mut self, enable: bool) -> &mut Self {
1044 self.wasm_features(WasmFeatures::GC, enable);
1045 self
1046 }
1047
1048 /// Configures whether the WebAssembly SIMD proposal will be
1049 /// enabled for compilation.

Callers 15

import_worksFunction · 0.45
issue_13538_tablesFunction · 0.45
gc_storeFunction · 0.45
stack_values_dead_gc_refFunction · 0.45
gc_access_during_callFunction · 0.45
private_entity_accessFunction · 0.45
table_init_doesnt_leakFunction · 0.45
issue_9669Function · 0.45

Calls 1

wasm_featuresMethod · 0.80

Tested by 15

owned_rootedFunction · 0.36
i31ref_to_raw_round_tripFunction · 0.36
i31ref_global_newFunction · 0.36
i31ref_global_getFunction · 0.36
i31ref_global_setFunction · 0.36
i31ref_global_tyFunction · 0.36