From b5021411a84822cb3f1e3aeffad9550dd15bdeb6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 16 Sep 2018 12:54:24 +0300 Subject: rename all things --- crates/libsyntax2/fuzz/.gitignore | 4 ---- crates/libsyntax2/fuzz/Cargo.toml | 22 ---------------------- crates/libsyntax2/fuzz/fuzz_targets/parser.rs | 9 --------- 3 files changed, 35 deletions(-) delete mode 100644 crates/libsyntax2/fuzz/.gitignore delete mode 100644 crates/libsyntax2/fuzz/Cargo.toml delete mode 100644 crates/libsyntax2/fuzz/fuzz_targets/parser.rs (limited to 'crates/libsyntax2/fuzz') diff --git a/crates/libsyntax2/fuzz/.gitignore b/crates/libsyntax2/fuzz/.gitignore deleted file mode 100644 index 572e03bdf..000000000 --- a/crates/libsyntax2/fuzz/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ - -target -corpus -artifacts diff --git a/crates/libsyntax2/fuzz/Cargo.toml b/crates/libsyntax2/fuzz/Cargo.toml deleted file mode 100644 index 916cd5b6f..000000000 --- a/crates/libsyntax2/fuzz/Cargo.toml +++ /dev/null @@ -1,22 +0,0 @@ - -[package] -name = "libsyntax2-fuzz" -version = "0.0.1" -authors = ["Automatically generated"] -publish = false - -[package.metadata] -cargo-fuzz = true - -[dependencies.libsyntax2] -path = ".." -[dependencies.libfuzzer-sys] -git = "https://github.com/rust-fuzz/libfuzzer-sys.git" - -# Prevent this from interfering with workspaces -[workspace] -members = ["."] - -[[bin]] -name = "parser" -path = "fuzz_targets/parser.rs" 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 @@ -#![no_main] -#[macro_use] extern crate libfuzzer_sys; -extern crate libsyntax2; - -fuzz_target!(|data: &[u8]| { - if let Ok(text) = std::str::from_utf8(data) { - libsyntax2::utils::check_fuzz_invariants(text) - } -}); -- cgit v1.2.3