What | Removed | Added |
---|---|---|
Flags | needinfo?(wolfgang@rosenauer.org) |
The tool itself (the binary) I would say: def cbindgen_version(cbindgen): cbindgen_min_version = Version('0.6.2') # cbindgen x.y.z version = Version(check_cmd_output(cbindgen, '--version').strip().split(" ")[1]) if version < cbindgen_min_version: die(dedent('''\ cbindgen version {} is too old. At least version {} is required. Please update using 'cargo install cbindgen --force' or running './mach bootstrap', after removing the existing executable located at {}. '''.format(version, cbindgen_min_version, cbindgen))) return version