aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/fuzz/fuzz_targets
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/fuzz/fuzz_targets')
-rw-r--r--crates/libsyntax2/fuzz/fuzz_targets/parser.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/crates/libsyntax2/fuzz/fuzz_targets/parser.rs b/crates/libsyntax2/fuzz/fuzz_targets/parser.rs
deleted file mode 100644
index da87180bb..000000000
--- a/crates/libsyntax2/fuzz/fuzz_targets/parser.rs
+++ /dev/null
@@ -1,9 +0,0 @@
1#![no_main]
2#[macro_use] extern crate libfuzzer_sys;
3extern crate libsyntax2;
4
5fuzz_target!(|data: &[u8]| {
6 if let Ok(text) = std::str::from_utf8(data) {
7 libsyntax2::utils::check_fuzz_invariants(text)
8 }
9});