]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: add qemu-api doctests to "meson test"
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 5 Apr 2025 08:33:09 +0000 (10:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Jun 2025 20:42:18 +0000 (22:42 +0200)
commitf620cadc0c24ae414b46204e57a82f7bf586d2c4
treeff502e97b130ceddcc16c274b43fc978f6ef8076
parent53de966c3e8e6b9db3a81e8081be8e8275a0c6ee
rust: add qemu-api doctests to "meson test"

Doctests are weird.  They are essentially integration tests, but they're
"ran" by executing rustdoc --test, which takes a compiler-ish
command line.  This is supported by Meson 1.8.0.

Because they run the linker and need all the .o files, run them in the
build jobs rather than the test jobs.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitlab-ci.d/buildtest-template.yml
.gitlab-ci.d/buildtest.yml
docs/devel/rust.rst
rust/qemu-api/meson.build