Re: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Alex Bennée
Paolo Bonzini writes: > On 11/14/24 18:27, Alex Bennée wrote: >> Paolo Bonzini 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

Re: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Paolo Bonzini
On 11/14/24 18:27, Alex Bennée wrote: Paolo Bonzini 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 s

Re: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Alex Bennée
Paolo Bonzini 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

Re: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Paolo Bonzini
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: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Alex Bennée
Paolo Bonzini writes: > On Thu, Nov 14, 2024 at 2:07 PM Alex Bennée wrote: >> > First, while it is currently possible to run cargo on the rust/ directory, >> > it has the issue that the bindings.rs must be placed by hand in >> > the build directory. Therefore, this series starts by allowing >>

Re: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Paolo Bonzini
On Thu, Nov 14, 2024 at 2:07 PM Alex Bennée wrote: > > First, while it is currently possible to run cargo on the rust/ directory, > > it has the issue that the bindings.rs must be placed by hand in > > the build directory. Therefore, this series starts by allowing > > cargo to "just work" when ru

Re: [RFC PATCH 00/11] rust: improved integration with cargo

2024-11-14 Thread Alex Bennée
Paolo Bonzini writes: > While we're not sure where we'll be going in the future, for now > using cargo remains an important part of developing QEMU Rust code. > This is because cargo is the easiest way to run clippy, rustfmt, > rustdoc. Cargo also allows working with doc tests, though there are

[RFC PATCH 00/11] rust: improved integration with cargo

2024-11-08 Thread Paolo Bonzini
While we're not sure where we'll be going in the future, for now using cargo remains an important part of developing QEMU Rust code. This is because cargo is the easiest way to run clippy, rustfmt, rustdoc. Cargo also allows working with doc tests, though there are pretty much none yet, and provid