--- 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 = []