File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,6 @@ impl Into<ParseResult<(BindgenOptions, Box<io::Write>)>> for Args {
143
143
fn into ( mut self ) -> Result < ( BindgenOptions , Box < io:: Write > ) , String > {
144
144
let mut options: BindgenOptions = Default :: default ( ) ;
145
145
146
- options. clang_args . push ( self . arg_input_header ) ;
147
-
148
146
for lib in self . flag_link . drain ( ..) {
149
147
options. links . push ( ( lib, LinkType :: Default ) ) ;
150
148
}
@@ -186,6 +184,7 @@ impl Into<ParseResult<(BindgenOptions, Box<io::Write>)>> for Args {
186
184
options. opaque_types . extend ( self . flag_opaque_type . drain ( ..) ) ;
187
185
options. blacklist_type . extend ( self . flag_blacklist_type . drain ( ..) ) ;
188
186
options. clang_args . extend ( self . arg_clang_args . drain ( ..) ) ;
187
+ options. clang_args . push ( self . arg_input_header ) ;
189
188
190
189
Ok ( ( options, out) )
191
190
}
You can’t perform that action at this time.
0 commit comments