From 380db48ce6b7a754025e33bde02a8d14897376f3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 11 Aug 2022 15:09:46 -0500 Subject: [PATCH] Enable the `memory-init-cow` feature building the C API (#4690) This feature was accidentally disabled by default when building the C API. --- 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 12a39a5864..249a4b86dc 100644 --- a/crates/c-api/Cargo.toml +++ b/crates/c-api/Cargo.toml @@ -32,8 +32,9 @@ wasmtime-wasi = { path = "../wasi", optional = true } cap-std = { version = "0.25.0", optional = true } [features] -default = ['jitdump', 'wat', 'wasi', 'cache', 'parallel-compilation'] +default = ['jitdump', 'wat', 'wasi', 'cache', 'parallel-compilation', 'memory-init-cow'] jitdump = ["wasmtime/jitdump"] cache = ["wasmtime/cache"] parallel-compilation = ['wasmtime/parallel-compilation'] wasi = ['wasi-cap-std-sync', 'wasmtime-wasi', 'cap-std'] +memory-init-cow = ["wasmtime/memory-init-cow"]