mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
6c4749e8f5
Fixes broken Cargo.toml for fuzz tests and adds building of fuzz tests to the CI.
27 lines
481 B
TOML
27 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"
|