This repository was archived by the owner on Apr 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -346,6 +346,27 @@ public:
346
346
wasmtime_config_wasm_multi_value_set (ptr.get (), enable);
347
347
}
348
348
349
+ // / \brief Configures whether the WebAssembly Garbage Collection proposal will be enabled
350
+ // /
351
+ // / https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasm_gc
352
+ void wasm_gc (bool enable) {
353
+ wasmtime_config_wasm_gc_set (ptr.get (), enable);
354
+ }
355
+
356
+ // / \brief Configures whether the WebAssembly function references proposal will be enabled
357
+ // /
358
+ // / https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasm_function_references
359
+ void wasm_function_references (bool enable) {
360
+ wasmtime_config_wasm_function_references_set (ptr.get (), enable);
361
+ }
362
+
363
+ // / \brief Configure whether wasmtime should compile a module using multiple threads.
364
+ // /
365
+ // / https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.parallel_compilation
366
+ void parallel_compilation (bool enable) {
367
+ wasmtime_config_parallel_compilation_set (ptr.get (), enable);
368
+ }
369
+
349
370
// / \brief Configures compilation strategy for wasm code.
350
371
// /
351
372
// / https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.strategy
You can’t perform that action at this time.
0 commit comments