File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1734,11 +1734,15 @@ impl Bindings {
1734
1734
} ) . cloned ( ) . collect :: < Vec < _ > > ( )
1735
1735
} ;
1736
1736
1737
+ debug ! ( "Trying to find clang with flags: {:?}" , clang_args_for_clang_sys) ;
1738
+
1737
1739
// TODO: Make this path fixup configurable?
1738
1740
if let Some ( clang) = clang_sys:: support:: Clang :: find (
1739
1741
None ,
1740
1742
& clang_args_for_clang_sys,
1741
1743
) {
1744
+ debug ! ( "Found clang: {:?}" , clang) ;
1745
+
1742
1746
// If --target is specified, assume caller knows what they're doing
1743
1747
// and don't mess with include paths for them
1744
1748
let has_target_arg = options
@@ -1798,6 +1802,8 @@ impl Bindings {
1798
1802
options. clang_args . push ( f. name . to_str ( ) . unwrap ( ) . to_owned ( ) )
1799
1803
}
1800
1804
1805
+ debug ! ( "Fixed-up options: {:?}" , options) ;
1806
+
1801
1807
let time_phases = options. time_phases ;
1802
1808
let mut context = BindgenContext :: new ( options) ;
1803
1809
You can’t perform that action at this time.
0 commit comments