Skip to content

Commit

Permalink
Expose a way to fuzz with span-locations enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 26, 2023
1 parent 16c2eda commit eb49335
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fuzz/Cargo.toml
Expand Up @@ -12,6 +12,9 @@ cargo-fuzz = true
libfuzzer-sys = "0.4"
proc-macro2 = { path = "..", default-features = false }

[features]
span-locations = ["proc-macro2/span-locations"]

[[bin]]
name = "parse_token_stream"
path = "fuzz_targets/parse_token_stream.rs"
Expand Down

0 comments on commit eb49335

Please sign in to comment.