Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Remove more traces of spec interpreter fuzzing (#15164)

Alex Crichtone5efed4fc95a
diff --git a/fuzz/fuzz_targets/differential.rs b/fuzz/fuzz_targets/differential.rs
index 116b51662a..1147ab7834 100644
--- a/fuzz/fuzz_targets/differential.rs
+++ b/fuzz/fuzz_targets/differential.rs
@@ -19,7 +19,7 @@ static SETUP: Once = Once::new();
// Environment-specified configuration for controlling the kinds of engines and
// modules used by this fuzz target. E.g.:
-// - ALLOWED_ENGINES=wasmi,spec cargo +nightly fuzz run ...
+// - ALLOWED_ENGINES=wasmi,pulley cargo +nightly fuzz run ...
// - ALLOWED_ENGINES=-v8 cargo +nightly fuzz run ...
// - ALLOWED_MODULES=single-inst cargo +nightly fuzz run ...
static ALLOWED_ENGINES: Mutex<Vec<Option<&str>>> = Mutex::new(vec![]);
@@ -36,7 +36,7 @@ fuzz_target!(|data: &[u8]| {
// environment variables.
let allowed_engines = build_allowed_env_list(
parse_env_list("ALLOWED_ENGINES"),
- &["wasmtime", "wasmi", "spec", "v8", "winch", "pulley"],
+ &["wasmtime", "wasmi", "v8", "winch", "pulley"],
);
let allowed_modules = build_allowed_env_list(
parse_env_list("ALLOWED_MODULES"),
@@ -220,7 +220,6 @@ struct RuntimeStats {
// Counters for which engine was chosen
wasmi: AtomicUsize,
v8: AtomicUsize,
- spec: AtomicUsize,
wasmtime: AtomicUsize,
winch: AtomicUsize,
pulley: AtomicUsize,
@@ -238,7 +237,6 @@ impl RuntimeStats {
successes: AtomicUsize::new(0),
wasmi: AtomicUsize::new(0),
v8: AtomicUsize::new(0),
- spec: AtomicUsize::new(0),
wasmtime: AtomicUsize::new(0),
winch: AtomicUsize::new(0),
pulley: AtomicUsize::new(0),
@@ -261,18 +259,16 @@ impl RuntimeStats {
);
let v8 = self.v8.load(SeqCst);
- let spec = self.spec.load(SeqCst);
let wasmi = self.wasmi.load(SeqCst);
let wasmtime = self.wasmtime.load(SeqCst);
let winch = self.winch.load(SeqCst);
let pulley = self.pulley.load(SeqCst);
- let total = v8 + spec + wasmi + wasmtime + winch + pulley;
+ let total = v8 + wasmi + wasmtime + winch + pulley;
println!(
- "\twasmi: {:.02}%, spec: {:.02}%, wasmtime: {:.02}%, v8: {:.02}%, \
+ "\twasmi: {:.02}%, wasmtime: {:.02}%, v8: {:.02}%, \
winch: {:.02}%, \
pulley: {:.02}%",
wasmi as f64 / total as f64 * 100f64,
- spec as f64 / total as f64 * 100f64,
wasmtime as f64 / total as f64 * 100f64,
v8 as f64 / total as f64 * 100f64,
winch as f64 / total as f64 * 100f64,
@@ -293,7 +289,6 @@ impl RuntimeStats {
match name {
"wasmi" => self.wasmi.fetch_add(1, SeqCst),
"wasmtime" => self.wasmtime.fetch_add(1, SeqCst),
- "spec" => self.spec.fetch_add(1, SeqCst),
"v8" => self.v8.fetch_add(1, SeqCst),
"winch" => self.winch.fetch_add(1, SeqCst),
"pulley" => self.pulley.fetch_add(1, SeqCst),