c-api: add wasm_config_parallel_compilation_set (#5298)
This commit is contained in:
committed by
GitHub
parent
86acb9a438
commit
e7cb82af89
@@ -112,6 +112,12 @@ pub extern "C" fn wasmtime_config_strategy_set(
|
||||
});
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[cfg(feature = "parallel-compilation")]
|
||||
pub extern "C" fn wasmtime_config_parallel_compilation_set(c: &mut wasm_config_t, enable: bool) {
|
||||
c.config.parallel_compilation(enable);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn wasmtime_config_cranelift_debug_verifier_set(
|
||||
c: &mut wasm_config_t,
|
||||
|
||||
Reference in New Issue
Block a user