From b26fd0af77ddce3431ce97065380241b20ef76a1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 13 Apr 2024 13:09:12 -0500 Subject: [PATCH] Enable the gc feature by default in the c-api (#8356) Match the Wasmtime crate in this respect --- crates/c-api/Cargo.toml | 1 + crates/c-api/artifact/Cargo.toml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/crates/c-api/Cargo.toml b/crates/c-api/Cargo.toml index 101cbbf9e7..d5f6aab28e 100644 --- a/crates/c-api/Cargo.toml +++ b/crates/c-api/Cargo.toml @@ -50,3 +50,4 @@ coredump = ["wasmtime/coredump"] addr2line = ["wasmtime/addr2line"] demangle = ["wasmtime/demangle"] threads = ["wasmtime/threads"] +gc = ["wasmtime/gc"] diff --git a/crates/c-api/artifact/Cargo.toml b/crates/c-api/artifact/Cargo.toml index 4589d2b90c..ea15a83cd6 100644 --- a/crates/c-api/artifact/Cargo.toml +++ b/crates/c-api/artifact/Cargo.toml @@ -31,6 +31,7 @@ default = [ 'addr2line', 'demangle', 'threads', + 'gc', ] async = ['wasmtime-c-api/async'] profiling = ["wasmtime-c-api/profiling"] @@ -44,3 +45,4 @@ addr2line = ["wasmtime-c-api/addr2line"] demangle = ["wasmtime-c-api/demangle"] wat = ["wasmtime-c-api/wat"] threads = ["wasmtime-c-api/threads"] +gc = ["wasmtime-c-api/gc"]