SetWasmThreads configures whether the wasm threads proposal is enabled
(enabled bool)
| 6 | |
| 7 | // SetWasmThreads configures whether the wasm threads proposal is enabled |
| 8 | func (cfg *Config) SetWasmThreads(enabled bool) { |
| 9 | C.wasmtime_config_wasm_threads_set(cfg.ptr(), C.bool(enabled)) |
| 10 | runtime.KeepAlive(cfg) |
| 11 | } |