mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
6528013b5f
commit
122748c83d
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue