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.
This commit is contained in:
Nathaniel Brough 2023-01-23 09:07:57 -08:00
parent c552e5a55f
commit 6c4749e8f5
2 changed files with 47 additions and 8 deletions

View file

@ -1,21 +1,17 @@
[package]
name = "syntax-fuzz"
version = "0.0.1"
publish = false
authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
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 = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
text-edit = { path = "../../text-edit", version = "0.0.0" }
libfuzzer-sys = "0.4.5"
# Prevent this from interfering with workspaces
[workspace]