mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
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> |
||
---|---|---|
.. | ||
aarch64 | ||
x86_64 | ||
lib.rs |