From 2ddaaafafb2149a88b42d2eec1f95f9c7a570365 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 13 Mar 2023 07:28:55 -0400 Subject: [PATCH] tor-ptmgr: Fix fuzzer compilation. Since we made the internals of the ptmgr protocol parser conditionally private, we need to tell Cargo to build the fuzzer with the `experimental-api` feature so that it can access them. --- crates/tor-ptmgr/fuzz/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tor-ptmgr/fuzz/Cargo.toml b/crates/tor-ptmgr/fuzz/Cargo.toml index b9ee27fa9..5a55a4d1c 100644 --- a/crates/tor-ptmgr/fuzz/Cargo.toml +++ b/crates/tor-ptmgr/fuzz/Cargo.toml @@ -13,6 +13,7 @@ libfuzzer-sys = "0.4" [dependencies.tor-ptmgr] path = ".." +features = [ "experimental-api" ] # Prevent this from interfering with workspaces [workspace]