SetWasmComponentModel configures whether the wasm component model proposal is enabled.
(enabled bool)
| 7 | // SetWasmComponentModel configures whether the wasm component model proposal is |
| 8 | // enabled. |
| 9 | func (cfg *Config) SetWasmComponentModel(enabled bool) { |
| 10 | C.wasmtime_config_wasm_component_model_set(cfg.ptr(), C.bool(enabled)) |
| 11 | runtime.KeepAlive(cfg) |
| 12 | } |
| 13 | |
| 14 | // SetConcurrencySupport configures whether support for concurrent execution of |
| 15 | // WebAssembly is enabled for stores using this configuration. |