diff --git a/libbitcoinkernel-sys/Cargo.toml b/libbitcoinkernel-sys/Cargo.toml index db9a960e..145c1293 100644 --- a/libbitcoinkernel-sys/Cargo.toml +++ b/libbitcoinkernel-sys/Cargo.toml @@ -38,7 +38,6 @@ exclude = [ "bitcoin/src/bench", "bitcoin/src/ipc", "bitcoin/test/functional", - "bitcoin/test/fuzz", "bitcoin/test/lint", "bitcoin/test/sanitizer_suppresions", "bitcoin/test/util", @@ -46,6 +45,8 @@ exclude = [ "bitcoin/src/qt", "bitcoin/src/bench", "bitcoin/src/wallet", + "bitcoin/src/bench", + "bitcoin/src/fuzz" ] publish = true diff --git a/libbitcoinkernel-sys/build.rs b/libbitcoinkernel-sys/build.rs index 4ff0cbe0..7a120fe0 100644 --- a/libbitcoinkernel-sys/build.rs +++ b/libbitcoinkernel-sys/build.rs @@ -25,6 +25,7 @@ fn main() { .arg(format!("-DCMAKE_BUILD_TYPE={build_config}")) .arg("-DBUILD_KERNEL_LIB=ON") .arg("-DBUILD_TESTS=OFF") + .arg("-DBUILD_BENCH=OFF") .arg("-DBUILD_KERNEL_TEST=OFF") .arg("-DBUILD_TX=OFF") .arg("-DBUILD_WALLET_TOOL=OFF") @@ -35,6 +36,7 @@ fn main() { .arg("-DBUILD_DAEMON=OFF") .arg("-DBUILD_UTIL_CHAINSTATE=OFF") .arg("-DBUILD_CLI=OFF") + .arg("-DBUILD_FUZZ_BINARY=OFF") .arg("-DBUILD_SHARED_LIBS=OFF") .arg("-DCMAKE_INSTALL_LIBDIR=lib") .arg("-DENABLE_IPC=OFF")