diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-05-14 13:40:31 +0300 |
---|---|---|
committer | Stéphane Cerveau <scerveau@collabora.com> | 2021-05-17 12:46:06 +0300 |
commit | 6b5e536ca620be3c1ff725e931035b7c178df019 (patch) | |
tree | 9e438f3c05cc08fb3e50acd670b7c23a838cc017 /meson.build | |
parent | 3b37c8718294ec887052d4c07d5511a8be596c83 (diff) |
cargo: fix build issue with cargo-c
Using ubuntu 20.04, the build was failing with version
cargo 0.47 / rustc 1.47.
Following this discussion:
https://github.com/rust-lang/cargo/issues/9340
it appears that rustc 1.52 is the minimum version.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 05e6e6c1..51965565 100644 --- a/meson.build +++ b/meson.build @@ -13,6 +13,7 @@ endif cargo = find_program('cargo', version:'>=1.40') cargo_wrapper = find_program('cargo_wrapper.py') cargo_c = find_program('cargo-cbuild', required: false) +rustc = find_program('rustc', version:'>=1.52') if not cargo_c.found() error('cargo-c missing, install it with: \'cargo install cargo-c\'') |