-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while compiling on Debian bullseye (with backported meson) #66
Comments
Thank you for your quick reply! I have updated the compiler to: Only errors that are left are the man pages errors. How should I deal with those?
|
Ah I, missed that part in the README. Thank you! |
FYI 7f80847 |
cargo = find_program('cargo', fs.expanduser('~/.cargo/bin/cargo'))
+cargo_version = run_command(cargo, '-V', check: true).stdout().split()[1]
+assert(cargo_version.version_compare('>=1.56')) I would like to recommend the following instead: cargo = find_program('cargo', fs.expanduser('~/.cargo/bin/cargo'), version: '>=1.56') Meson will then internally run
And report more informative errors, such as potentially (bumping the version prospectively):
Your current method instead looks like this:
That assert is not really the best way to communicate with users. |
Thanks |
Environment:
meson 0.61.1
cargo 1.46.0
compile log:
The text was updated successfully, but these errors were encountered: