Touch up PR 668

This commit is contained in:
David Tolnay 2020-05-11 10:57:13 -07:00
parent 2dc46d1d07
commit be11c917b4
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 8 additions and 12 deletions

7
fuzz/.gitignore vendored
View File

@ -1,4 +1,3 @@
target
corpus
artifacts
artifacts/
corpus/
target/

View File

@ -1,4 +1,3 @@
[package]
name = "serde_json-fuzz"
version = "0.0.0"
@ -11,14 +10,11 @@ cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.3"
[dependencies.serde_json]
path = ".."
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
serde_json = { path = ".." }
[[bin]]
name = "from_slice"
path = "fuzz_targets/from_slice.rs"
# Prevent this from interfering with workspaces
[workspace]

View File

@ -1,4 +1,5 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
use serde_json::{from_slice, Value};