Files
third_party_rust_regex/fuzz/Cargo.toml
T
Catena cyber 3b200d9c21 fuzz: do not use inherits in Cargo.toml
This fixes the oss-fuzz build.

Specifically, the build log[1] showed this error:

    Step #3 - "compile-libfuzzer-address-x86_64": error: inherits must
    not be specified in root profile dev

So we just remove it and inline the settings.

PR #817

[1] - https://oss-fuzz-build-logs.storage.googleapis.com/log-c9b61873-8950-4a50-a729-820d5617ff7a.txt
2021-11-17 16:49:44 -05:00

38 lines
568 B
TOML

cargo-features = ['named-profiles']
[package]
name = "regex-fuzz"
version = "0.0.0"
authors = ["David Korczynski <david@adalogics.com>"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4.1"
[dependencies.regex]
path = ".."
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "fuzz_regex_match"
path = "fuzz_targets/fuzz_regex_match.rs"
[profile.release]
opt-level = 3
debug = true
[profile.dev]
opt-level = 3
debug = true
[profile.test]
opt-level = 3
debug = true