rust-analyzer/crates/syntax/fuzz/Cargo.toml
Nathaniel Brough 6c4749e8f5 fix(fuzz): Fixes broken Cargo.toml for fuzz tests
Fixes broken Cargo.toml for fuzz tests and adds building of
fuzz tests to the CI.
2023-01-24 10:54:10 -08:00

26 lines
481 B
TOML

[package]
name = "syntax-fuzz"
version = "0.0.1"
publish = false
edition = "2021"
rust-version = "1.66.1"
[package.metadata]
cargo-fuzz = true
[dependencies]
syntax = { path = "..", version = "0.0.0" }
text-edit = { path = "../../text-edit", version = "0.0.0" }
libfuzzer-sys = "0.4.5"
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "parser"
path = "fuzz_targets/parser.rs"
[[bin]]
name = "reparse"
path = "fuzz_targets/reparse.rs"