summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-10-12 14:57:17 -0500
committerGitHub <noreply@github.com>2016-10-12 14:57:17 -0500
commitfca27e2d13ecafd6b4f658b89567a7244e64a897 (patch)
treec4b55ff805d6c73136a6de3e20a30c241bdaabce
parent7bb537eca58bf0428c6185e061ca094a5ef9b3b4 (diff)
parent1edf11bee4ca25c40815ddc8653392124192af86 (diff)
Auto merge of #79 - fitzgen:remove-usage-for-flags-that-no-longer-exist, r=emilio
Remove usage for flags that no longer exist r? @emilio
-rwxr-xr-xsrc/bin/bindgen.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bin/bindgen.rs b/src/bin/bindgen.rs
index 1b9d4806..cb84f09b 100755
--- a/src/bin/bindgen.rs
+++ b/src/bin/bindgen.rs
@@ -60,26 +60,30 @@ Options:
--no-type-renaming Don't rename types.
- --allow-unknown-types Don't fail if we encounter types we do not
- support, instead treat them as void
-
--emit-clang-ast Output the ast (for debugging purposes)
--use-msvc-mangling Handle MSVC C++ ABI mangling; requires that
target be set to (i686|x86_64)-pc-win32
--raw-line=<raw> Add a raw line at the beginning of the output.
+
--no-unstable-rust Avoid generating unstable rust.
+
--no-bitfield-methods Avoid generating methods for bitfield access.
+
--opaque-type=<type> Mark a type as opaque.
+
--blacklist-type=<type> Mark a type as hidden.
+
--whitelist-type=<type> Whitelist the type. If this set or any other
of the whitelisting sets is not empty, then
all the non-whitelisted types (or dependant)
won't be generated.
+
--whitelist-function=<regex> Whitelist all the free-standing functions
matching <regex>. Same behavior on emptyness
than the type whitelisting.
+
--whitelist-var=<regex> Whitelist all the free-standing variables
matching <regex>. Same behavior on emptyness
than the type whitelisting.