From: Paolo Bonzini <pbonzini@redhat.com>
To: Bernhard Beschow <shentey@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, qemu-rust@nongnu.org
Subject: Re: [PATCH preview 0/3] rust: update build system for Meson 1.8.0
Date: Tue, 8 Apr 2025 23:08:23 +0200 [thread overview]
Message-ID: <CABgObfZjg8eZdPGY6RPR09oZ5U3n_ASFOLz2EPzT=Zm+vhMNmg@mail.gmail.com> (raw)
In-Reply-To: <0B9AB608-D9FE-4819-87DB-8B00F222F1C7@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]
Il mar 8 apr 2025, 22:34 Bernhard Beschow <shentey@gmail.com> ha scritto:
>
>
> Am 5. April 2025 10:06:00 UTC schrieb Paolo Bonzini <pbonzini@redhat.com>:
> >Meson 1.7.0 and 1.8.0 include improved support for Rust, namely:
> >* support for "objects" in Rust executables
> >* support for doctest targets
>
> Using Meson 1.7.2 (shipped with my distro) I didn't succeed with either of
> these. If just applying the first patch with --enable-modules I get linker
> errors again. With all patches applied, "doctest" isn't recognized. Is this
> perhaps 1.8-only material?
>
Yes, it's 1.8 only. Once it's released I will repost it with an update to
pythondeps.toml, for now you can uninstall the distro Meson and install
from their git repository using pip (I think "pip install ." should work).
I did test modules a few months ago when you reported it, but I will check
again before reposting.
Paolo
> Best regards,
> Bernhard
>
> >
> >Use it to remove BQL-related hacks, fix --enable-modules --enable-rust
> >and also simplify the Meson logic for building the qemu-api crate
> >(which may help splitting the crate, too).
> >
> >Meson also supports clippy and rustdoc but there are some bugs in the
> >prerelease. I'll try to get them fixed before 1.8.0.
> >
> >Paolo
> >
> >Paolo Bonzini (3):
> > rust: use "objects" for Rust executables as well
> > rust: add qemu-api doctests to "meson test"
> > rust: cell: remove support for running doctests with "cargo test --doc"
> >
> > docs/devel/rust.rst | 2 --
> > .gitlab-ci.d/buildtest.yml | 5 -----
> > rust/qemu-api/meson.build | 35 +++++++++++++++--------------------
> > rust/qemu-api/src/cell.rs | 22 +++++++++-------------
> > 4 files changed, 24 insertions(+), 40 deletions(-)
> >
>
>
[-- Attachment #2: Type: text/html, Size: 2861 bytes --]
prev parent reply other threads:[~2025-04-08 21:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-05 10:06 [PATCH preview 0/3] rust: update build system for Meson 1.8.0 Paolo Bonzini
2025-04-05 10:06 ` [PATCH 1/3] rust: use "objects" for Rust executables as well Paolo Bonzini
2025-04-05 10:06 ` [PATCH 2/3] rust: add qemu-api doctests to "meson test" Paolo Bonzini
2025-04-05 10:06 ` [PATCH 3/3] rust: cell: remove support for running doctests with "cargo test --doc" Paolo Bonzini
2025-04-07 7:37 ` [PATCH preview 0/3] rust: update build system for Meson 1.8.0 Zhao Liu
2025-04-07 7:51 ` Paolo Bonzini
2025-04-08 20:34 ` Bernhard Beschow
2025-04-08 21:08 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABgObfZjg8eZdPGY6RPR09oZ5U3n_ASFOLz2EPzT=Zm+vhMNmg@mail.gmail.com' \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-rust@nongnu.org \
--cc=shentey@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).