aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-23 22:22:31 -0700
committeriximeow <me@iximeow.net>2024-06-23 22:22:31 -0700
commit25b9a530b3b19b9dcb27b9596df51f43bb272bd8 (patch)
tree4cae0f1ab2a71996fc5bd2ccce4ddfd1c0b4ce9b /build.rs
parent09dcfca94240b6c18fbaa1186781dac0d436e500 (diff)
fix several sources of dead code warnings in various crate configs
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index a941375..116442e 100644
--- a/build.rs
+++ b/build.rs
@@ -1,5 +1,5 @@
fn main() {
- #[cfg(capstone_bench)]
+ #[cfg(feature="capstone_bench")]
{
println!("cargo:rustc-link-search=/usr/lib/");
println!("cargo:rustc-link-lib=capstone");