From c7be93753ac9fcdff816eaccad00986a6ac06b27 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 14 Jun 2022 16:23:28 -0500 Subject: [PATCH] Enable parallel compilation in the C API by default (#4270) When parallel compilation was moved behind a compile-time feature in the `wasmtime` crate we forgot to add the corresponding feature to the C API which means that the C API hasn't been using parallel compilation since #1903 (oh dear!) --- crates/c-api/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/c-api/Cargo.toml b/crates/c-api/Cargo.toml index de269f3486..5a43be6613 100644 --- a/crates/c-api/Cargo.toml +++ b/crates/c-api/Cargo.toml @@ -32,7 +32,8 @@ wasmtime-wasi = { path = "../wasi", optional = true } cap-std = { version = "0.24.1", optional = true } [features] -default = ['jitdump', 'wat', 'wasi', 'cache'] +default = ['jitdump', 'wat', 'wasi', 'cache', 'parallel-compilation'] jitdump = ["wasmtime/jitdump"] cache = ["wasmtime/cache"] +parallel-compilation = ['wasmtime/parallel-compilation'] wasi = ['wasi-cap-std-sync', 'wasmtime-wasi', 'cap-std']