Skip to content

Commit 0db9588

Browse files
symphorienemilio
authored andcommitted
options: mark clang-args last
before, bindgen -- -I blah would try to open `-I` as a header file.
1 parent aa1030e commit 0db9588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/options.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ where
150150
.help("Time the different bindgen phases and print to stderr"),
151151
// All positional arguments after the end of options marker, `--`
152152
Arg::with_name("clang-args")
153+
.last(true)
153154
.multiple(true),
154155
Arg::with_name("emit-clang-ast")
155156
.long("emit-clang-ast")

0 commit comments

Comments
 (0)