Skip to content

Commit

Permalink
Merge pull request #2234 from sfackler/alex-patch-1
Browse files Browse the repository at this point in the history
Only declare OpensslCallbacks in bindgen builds
  • Loading branch information
alex authored May 2, 2024
2 parents 1088c1d + 053ac0b commit af91e4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openssl-sys/build/run_bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ pub fn run_boringssl(include_dirs: &[PathBuf]) {
.compile("boring_static_wrapper");
}

#[cfg(feature = "bindgen")]
#[derive(Debug)]
struct OpensslCallbacks;

Expand Down

0 comments on commit af91e4e

Please sign in to comment.