From c489ac2f368db141102a8d0b7121297729c4a3de Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 11 Jul 2024 15:29:28 +0800 Subject: [PATCH] Fix oss-fuzz build failure issue Since the compiler of oss-fuzz is not the latest version, so it will meet build failure for crate "serde 1.0.204". So we use a fixed version serde "1.0.198" to fix the issue. Signed-off-by: Wei Liu --- spdmlib/fuzz/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/spdmlib/fuzz/Cargo.toml b/spdmlib/fuzz/Cargo.toml index ccc14f1..ab16c8d 100644 --- a/spdmlib/fuzz/Cargo.toml +++ b/spdmlib/fuzz/Cargo.toml @@ -10,6 +10,7 @@ cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4" fuzzlib = { path = "../../fuzz-target/fuzzlib", default-features = false } +serde = "=1.0.198" [dependencies.spdmlib] path = ".."