diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2018-08-28 17:10:57 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-08-29 23:48:44 +0200 |
commit | 0db9588e84463c211340f0bc2cb6da2b3a99c441 (patch) | |
tree | 81af5b59bdd1beeb6d575a3313737f89387862d0 | |
parent | aa1030ef4d19e527d1372d68f51b608598fe77f4 (diff) |
options: mark clang-args last
before, bindgen -- -I blah would try to open `-I` as a header file.
-rw-r--r-- | src/options.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 07195bfe..61f4f766 100644 --- a/src/options.rs +++ b/src/options.rs @@ -150,6 +150,7 @@ where .help("Time the different bindgen phases and print to stderr"), // All positional arguments after the end of options marker, `--` Arg::with_name("clang-args") + .last(true) .multiple(true), Arg::with_name("emit-clang-ast") .long("emit-clang-ast") |