From 36eb1a0462797d88e42ffa65e4075b1a4b70dafe Mon Sep 17 00:00:00 2001 From: William Tremblay Date: Fri, 4 Oct 2024 15:30:48 -0400 Subject: [PATCH] fix oodle-rt cfg statements --- crates/oodle-rt/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oodle-rt/build.rs b/crates/oodle-rt/build.rs index 716b923..2088929 100644 --- a/crates/oodle-rt/build.rs +++ b/crates/oodle-rt/build.rs @@ -1,6 +1,6 @@ use std::error::Error; -#[cfg(target_feature = "regenerate-bindings")] +#[cfg(feature = "regenerate-bindings")] fn main() -> Result<(), Box> { use std::path::PathBuf; @@ -27,7 +27,7 @@ fn main() -> Result<(), Box> { Ok(()) } -#[cfg(not(target_feature = "regenerate-bindings"))] +#[cfg(not(feature = "regenerate-bindings"))] fn main() -> Result<(), Box> { Ok(()) }