summaryrefslogtreecommitdiff
path: root/tests/tools/run-bindgen.py
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-09-22 03:37:53 +0200
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-09-23 15:52:56 +0200
commit9e1ddf9632ed4ffb04b49e7d317d15b32de6225c (patch)
tree3731bd0ab6866c5716cbed6e3ca4a2933d70772b /tests/tools/run-bindgen.py
parent2916beaf1d6115b80902b847cd786f81dd14208c (diff)
Run tests on stable.
Diffstat (limited to 'tests/tools/run-bindgen.py')
-rwxr-xr-xtests/tools/run-bindgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tools/run-bindgen.py b/tests/tools/run-bindgen.py
index d58a028a..0d8ed580 100755
--- a/tests/tools/run-bindgen.py
+++ b/tests/tools/run-bindgen.py
@@ -17,12 +17,12 @@ if len(sys.argv) != 4:
[_, bindgen_path, c_path, rust_path] = sys.argv
-flags = []
+flags = ["--no-unstable-rust"]
with open(sys.argv[2]) as f:
for line in f:
if line.startswith(BINDGEN_FLAGS_PREFIX):
- flags = line.strip().split(BINDGEN_FLAGS_PREFIX)[1].split(" ")
+ flags.extend(line.strip().split(BINDGEN_FLAGS_PREFIX)[1].split(" "))
break
base_command = [bindgen_path, "-o", rust_path]