Remove spec interpreter fuzz target temporarily (#3399)

This commit removes the `differential_spec` fuzz target for now,
although this removal is intended to be temporary. We have #3251 to
track re-enabling the spec interpreter in a way that it won't time out,
and additionally the spec interpreter is also failing to build with
ocaml on oss-fuzz so that will also need to be investigated when
re-enabling.
This commit is contained in:
Alex Crichton
2021-09-30 13:09:19 -05:00
committed by GitHub
parent b695ca4f9c
commit 25d3fa4d7b
4 changed files with 6 additions and 41 deletions

View File

@@ -32,7 +32,8 @@ rusty_v8 = "0.27"
[dev-dependencies]
wat = "1.0.37"
# FIXME(#3251) should re-enable once spec interpreter won't time out
# We only build the library containing the OCaml spec interpreter if the OCaml
# toolchain is available--which is assumed here to be the case when fuzzing.
[target.'cfg(fuzzing)'.dependencies]
wasm-spec-interpreter = { path = "./wasm-spec-interpreter", features = ["build-libinterpret"] }
# [target.'cfg(fuzzing)'.dependencies]
# wasm-spec-interpreter = { path = "./wasm-spec-interpreter", features = ["build-libinterpret"] }

View File

@@ -28,6 +28,7 @@ mod without_library;
#[cfg(not(feature = "has-libinterpret"))]
pub use without_library::*;
// FIXME(#3251) should re-enable once spec interpreter won't time out
// If the user is fuzzing`, we expect the OCaml library to have been built.
#[cfg(all(fuzzing, not(feature = "has-libinterpret")))]
compile_error!("The OCaml library was not built.");
// #[cfg(all(fuzzing, not(feature = "has-libinterpret")))]
// compile_error!("The OCaml library was not built.");