Browse Source

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!)
pull/4280/head
Alex Crichton 2 years ago
committed by GitHub
parent
commit
c7be93753a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      crates/c-api/Cargo.toml

3
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']

Loading…
Cancel
Save