Skip to content

Commit

Permalink
fuzz: do not use inherits in Cargo.toml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
catenacyber committed Nov 17, 2021
1 parent 3662851 commit 5197f21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ opt-level = 3
debug = true

[profile.dev]
inherits = "release"
opt-level = 3
debug = true

[profile.test]
inherits = "release"
opt-level = 3
debug = true

0 comments on commit 5197f21

Please sign in to comment.