Skip to content

Commit

Permalink
fix docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Apr 10, 2024
1 parent 5a7220f commit 0ab84e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ impl BindgenConfig {
}
}

#[cfg(not(docsrs))]
fn main() {
if cfg!(docsrs) {
println!("Skipping regeneration of bindings for docs.rs.");
Expand Down

0 comments on commit 0ab84e8

Please sign in to comment.