Skip to content

Commit af91e4e

Browse files
authored
Merge pull request #2234 from sfackler/alex-patch-1
Only declare OpensslCallbacks in bindgen builds
2 parents 1088c1d + 053ac0b commit af91e4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openssl-sys/build/run_bindgen.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ pub fn run_boringssl(include_dirs: &[PathBuf]) {
205205
.compile("boring_static_wrapper");
206206
}
207207

208+
#[cfg(feature = "bindgen")]
208209
#[derive(Debug)]
209210
struct OpensslCallbacks;
210211

0 commit comments

Comments
 (0)