Skip to content

Commit

Permalink
fix oodle-rt cfg statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tremwil committed Oct 4, 2024
1 parent 4891c47 commit 36eb1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oodle-rt/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::error::Error;

#[cfg(target_feature = "regenerate-bindings")]
#[cfg(feature = "regenerate-bindings")]
fn main() -> Result<(), Box<dyn Error>> {
use std::path::PathBuf;

Expand All @@ -27,7 +27,7 @@ fn main() -> Result<(), Box<dyn Error>> {
Ok(())
}

#[cfg(not(target_feature = "regenerate-bindings"))]
#[cfg(not(feature = "regenerate-bindings"))]
fn main() -> Result<(), Box<dyn Error>> {
Ok(())
}

0 comments on commit 36eb1a0

Please sign in to comment.