mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
subprojects: add the anyhow crate
This is a standard replacement for Box<dyn Error> which is more efficient (it only occcupies one word) and provides a backtrace of the error. This could be plumbed into &error_abort in the future. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
f8a113701d
commit
a95ad49bbf
7 changed files with 46 additions and 3 deletions
|
@ -35,7 +35,7 @@ _qemu_api_rs = static_library(
|
|||
override_options: ['rust_std=2021', 'build.rust_std=2021'],
|
||||
rust_abi: 'rust',
|
||||
rust_args: _qemu_api_cfg,
|
||||
dependencies: [libc_rs, qemu_api_macros, qemuutil_rs,
|
||||
dependencies: [anyhow_rs, libc_rs, qemu_api_macros, qemuutil_rs,
|
||||
qom, hwcore, chardev, migration],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue