rust: apply --cfg MESON to all crates
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Nov 2024 10:35:34 +0000 (11:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Dec 2024 17:44:06 +0000 (18:44 +0100)
commit8c2866750319fac3f7b641d1a097f3779952631d
tree8a9f89d8c1402314c76d43fd35dfa3f1fb3296c9
parent72d6ed19bf25e1289be7b05326d3ed3c9f0cabe9
rust: apply --cfg MESON to all crates

We might have more uses for --cfg MESON, even though right now it's only
qemu-api that has generated files.  Since we're going to add more flags
to the add_project_arguments calls for Rust, it makes sense to also add
--cfg MESON everywhere.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
rust/qemu-api/meson.build