cloud-hypervisor/arch/src
Yi Wang 7b46d06171 build: fix clippy ptr arg issue
CI reports errors:

error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
    --> arch/src/x86_64/mod.rs:1351:19
     |
1351 |     epc_sections: &Vec<SgxEpcSection>,
     |                   ^^^^^^^^^^^^^^^^^^^ help: change this to: `&[SgxEpcSection]`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
     = note: `-D clippy::ptr-arg` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`

Signed-off-by: Yi Wang <foxywang@tencent.com>
(cherry picked from commit 3d6594a594)
2024-01-10 09:09:15 -08:00
..
aarch64 aarch64: fdt: Use more appropriate default value for topology 2023-11-01 21:29:08 +08:00
x86_64 build: fix clippy ptr arg issue 2024-01-10 09:09:15 -08:00
lib.rs vmm: Allow assignment of PCI segments to NUMA node 2023-10-18 11:18:15 -07:00