aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-12-19 16:37:20 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-01-07 10:18:53 +0100
commit122748c83d2a331b43ea17efd78c4117a362f3f2 (patch)
treecaa938b3fa1b5f75ed53e741d4ddccad5fda3a23 /rust/qemu-api
parent6528013b5f5ba6bb3934b7f5fe57a3110680530f (diff)
downloadqemu-122748c83d2a331b43ea17efd78c4117a362f3f2.zip
qemu-122748c83d2a331b43ea17efd78c4117a362f3f2.tar.gz
qemu-122748c83d2a331b43ea17efd78c4117a362f3f2.tar.bz2
rust: fix --enable-debug-mutex
--feature is an option for cargo but not for rustc. Reported-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api')
-rw-r--r--rust/qemu-api/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/qemu-api/meson.build b/rust/qemu-api/meson.build
index ccb20f3..9425ba7 100644
--- a/rust/qemu-api/meson.build
+++ b/rust/qemu-api/meson.build
@@ -7,7 +7,7 @@ if rustc.version().version_compare('>=1.77.0')
_qemu_api_cfg += ['--cfg', 'has_offset_of']
endif
if get_option('debug_mutex')
- _qemu_api_cfg += ['--feature', 'debug_cell']
+ _qemu_api_cfg += ['--cfg', 'feature="debug_cell"']
endif
_qemu_api_rs = static_library(