Skip to content

Commit

Permalink
disable include-path detection
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanregner committed Mar 25, 2024
1 parent 2f0c553 commit e79adf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindgen/src/builder.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub use crate::{
config::{Config, ConfigMap, FileConfig},
config::{Config, ConfigMap},
sdk::{SdkPath, SdkPathError},
};

Expand Down Expand Up @@ -44,7 +44,7 @@ impl Builder {

pub fn bindgen_builder(&self) -> bindgen::Builder {
// Begin building the bindgen params.
let mut builder = bindgen::Builder::default();
let mut builder = bindgen::Builder::default().detect_include_paths(false);

let mut clang_args = vec!["-x", "objective-c", "-fblocks", "-fmodules"];
let target_arg;
Expand Down

0 comments on commit e79adf8

Please sign in to comment.