You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-cbindgen/cbindgen-test-release.patch

19 lines
577 B

--- cbindgen-0.6.6/test.py.orig 2018-05-31 09:03:09.000000000 -0700
+++ cbindgen-0.6.6/test.py 2018-10-22 15:21:50.222301880 -0700
@@ -8,13 +8,13 @@ import filecmp
def build_cbindgen():
try:
- subprocess.check_output(["cargo", "build"])
+ subprocess.check_output(["cargo", "build", "--release"])
return True
except subprocess.CalledProcessError:
return False
def cbindgen(path, out, c, style, verify):
- bin = ["target/debug/cbindgen"]
+ bin = ["target/release/cbindgen"]
compile = [path, "-o", out]
flags = []