From 5197f21287344d2994f9cf06758a3ea30f5a26c3 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Wed, 17 Nov 2021 22:49:44 +0100 Subject: [PATCH] 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 --- fuzz/Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index fa4538167..874e19a0f 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -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