mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
0bead9ebe1
warning: slow zero-filling initialization --> vmm/src/cpu.rs:1780:9 | 1779 | let mut mat_data: Vec<u8> = Vec::new(); | ---------- help: consider replacing this with: `vec![0; std::mem::size_of_val(&lapic)]` 1780 | mat_data.resize(std::mem::size_of_val(&lapic), 0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization = note: `#[warn(clippy::slow_vector_initialization)]` on by default Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
---|---|---|
.. | ||
api | ||
acpi.rs | ||
clone3.rs | ||
config.rs | ||
coredump.rs | ||
cpu.rs | ||
device_manager.rs | ||
device_tree.rs | ||
gdb.rs | ||
interrupt.rs | ||
lib.rs | ||
memory_manager.rs | ||
migration.rs | ||
pci_segment.rs | ||
seccomp_filters.rs | ||
serial_manager.rs | ||
sigwinch_listener.rs | ||
vm_config.rs | ||
vm.rs |