cargo fmt + adjust comment.

This commit is contained in:
Nick Lewycky
2019-09-03 15:20:36 -07:00
parent d54712f73b
commit 4ce2e2c56d
2 changed files with 16 additions and 17 deletions

View File

@ -1,19 +1,20 @@
#![no_main]
#[macro_use] extern crate libfuzzer_sys;
#[macro_use]
extern crate libfuzzer_sys;
extern crate wasmer_runtime_core;
extern crate wasmer;
extern crate wasmer_runtime_core;
use wasmer_runtime_core::{
backend::{Features},
};
use wasmer_runtime_core::backend::Features;
fuzz_target!(|data: &[u8]| {
let _ = wasmer::utils::is_wasm_binary(data);
let _ = wasmer_runtime_core::validate_and_report_errors_with_features(
&data,
Features {
// modify those values to explore additionnal part of wasmer
simd: false, threads: false, },
);
let _ = wasmer::utils::is_wasm_binary(data);
let _ = wasmer_runtime_core::validate_and_report_errors_with_features(
&data,
Features {
// Modify these values to explore additional parts of wasmer.
simd: false,
threads: false,
},
);
});