diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-15 11:14:18 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-05 14:18:15 +0100 |
| commit | 7b72c7dd0d4dbbcc8a909533a5c70e9935b201c3 (patch) | |
| tree | cd32b4789bf5c506901d63de094fed2a26b441c4 /rust/qemu-api/meson.build | |
| parent | d1e526c170d6e485851ab99237fb11cdaa7faccf (diff) | |
| download | focaccia-qemu-7b72c7dd0d4dbbcc8a909533a5c70e9935b201c3.tar.gz focaccia-qemu-7b72c7dd0d4dbbcc8a909533a5c70e9935b201c3.zip | |
meson: pass rustc_args when building all crates
rustc_args is needed to smooth the difference in warnings between the various versions of rustc. Always include those arguments. Reviewed-by: Junjie Mao <junjie.mao@hotmail.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/meson.build')
| -rw-r--r-- | rust/qemu-api/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/qemu-api/meson.build b/rust/qemu-api/meson.build index c72d34b607..42ea815fa5 100644 --- a/rust/qemu-api/meson.build +++ b/rust/qemu-api/meson.build @@ -10,7 +10,7 @@ _qemu_api_rs = static_library( ), override_options: ['rust_std=2021', 'build.rust_std=2021'], rust_abi: 'rust', - rust_args: rustc_args + [ + rust_args: [ '--cfg', 'MESON', # '--cfg', 'feature="allocator"', ], |