rust: fix --enable-debug-mutex
Subsystems (2)
PATCH 1/1 rust: fix --enable-debug-mutex
--feature is an option for cargo but not for rustc.
Reported-by Bernhard Beschow <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
--- rust/qemu-api/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rust/qemu-api/meson.build +1 -1
@@ -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(
Signature · 1 line
2.47.1
Am 19. Dezember 2024 15:37:28 UTC schrieb Paolo Bonzini <[email protected]>:
Quoted 20 lines
--feature is an option for cargo but not for rustc.
Reported-by Bernhard Beschow <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>---
rust/qemu-api/meson.build| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)rust/qemu-api/meson.build +0
-0@@ -7,7 +7,7 @@ if rustc.version().version_compare('>=1.77.0') _qemu_api_cfg += ['--cfg', 'has_offset_of']endif
ifget_option('debug_mutex')rust/qemu-api/meson.build +1
-1- _qemu_api_cfg += ['--feature', 'debug_cell'] + _qemu_api_cfg += ['--cfg', 'feature="debug_cell"']endif
Quoted 1 line
_qemu_api_rs= static_library(
Reviewed-by Bernhard Beschow <[email protected]>