Browse Source

Turn off memfd by default, at least for this upcoming release. (#3774)

Since memfd support just landed, and has had only ~0.5 weeks to bake
with fuzzing, we want to make release 0.34.0 of Wasmtime without it
enabled by default. This PR disables memfd by default; it can be enabled
by specifying the `memfd` feature for the `wasmtime` crate, or when
building the commandline binary.

We plan to explicitly add memfd-enabled fuzzing targets, let that go for
a while, then probably re-enable memfd in the subsequent release if no
issues come up.
pull/3777/head
Chris Fallin 3 years ago
committed by GitHub
parent
commit
88b53b12aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Cargo.toml
  2. 2
      crates/wasmtime/Cargo.toml

1
Cargo.toml

@ -94,7 +94,6 @@ default = [
"wasmtime/wat",
"wasmtime/parallel-compilation",
"wasi-nn",
"memfd",
"pooling-allocator",
]
jitdump = ["wasmtime/jitdump"]

2
crates/wasmtime/Cargo.toml

@ -51,7 +51,7 @@ wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync" }
maintenance = { status = "actively-developed" }
[features]
default = ['async', 'cache', 'wat', 'jitdump', 'parallel-compilation', 'cranelift', 'pooling-allocator', 'memfd']
default = ['async', 'cache', 'wat', 'jitdump', 'parallel-compilation', 'cranelift', 'pooling-allocator']
# An on-by-default feature enabling runtime compilation of WebAssembly modules
# with the Cranelift compiler. Cranelift is the default compilation backend of

Loading…
Cancel
Save