diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-24 17:23:20 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-14 09:35:56 -0700 |
| commit | 16c5080a184f095dd721b719b5406128aee5e890 (patch) | |
| tree | 31539a29d0f3df2fb8daa2875587554cca37c57f /mesonbuild/modules/python.py | |
| parent | f864690f3a74ed4f751e9b6d9a8855ec16030c65 (diff) | |
| download | meson-16c5080a184f095dd721b719b5406128aee5e890.tar.gz | |
cargo: improve error message for dependency version conflicts
While developing I often got a confusing 'Neither a subproject directory nor
a None.wrap file was found'. Replace it with a clear message that explains:
1. Which dependency couldn't be found
2. What versions are available in the root Cargo.lock
3. That this is likely a version conflict
4. How to fix it (update dependencies to match root Cargo.lock)
Example:
ERROR: Dependency 'socket2-0.4-rs' not found. Root Cargo.lock provides:
socket2-0.5-rs, socket2-0.6-rs. This could be a Meson bug, please report it.
I am actually not sure if this is really always a Meson bug. But to be
safe, suggest reporting it until more experience is gained.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions
