On 11/14/24 18:27, Alex Bennée wrote:
Paolo Bonzini <pbonz...@redhat.com> writes:

On 11/14/24 16:22, Alex Bennée wrote:
ERROR: Build data file './meson-private/build.dat' references
functions or classes that don't exist. This probably means that it
was generated with an old version of meson. Try running from the
source directory meson setup . --wipe
I also tried a wipe and re-configure but the same thing.

Ah, nevermind - you must have an older meson installation in /usr.
You have to do pyvenv/bin/meson to pick the right one.  I'll adjust
the docs.

Hmm,

✗  ./pyvenv/bin/meson devenv ../../rust
PermissionError: [Errno 13] Permission denied: '../../rust'

You're confusing two things:

1) to start a shell

pyvenv/bin/meson devenv

2) to run clippy

pyvenv/bin/meson devenv -w ../../rust cargo clippy --tests

Note the -w. Since the latter is typically covered by make, the common one will be the former.

Paolo


Reply via email to