mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
e041defa67
Under the fuzzer this code appears dead: error: field `0` is never read --> /home/rob/src/cloud-hypervisor/arch/src/x86_64/mod.rs:128:32 | 128 | struct MemmapTableEntryWrapper(hvm_memmap_table_entry); | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^ | | | field in this struct | = note: `MemmapTableEntryWrapper` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 128 | struct MemmapTableEntryWrapper(()); | ~~ Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |