cloud-hypervisor/arch/src
Demi Marie Obenour 2e05836669 hypervisor: Suppress unused_unsafe warning
x86::__cpuid is safe on Rust ≥1.94 but unsafe on older versions.  This
causes unused_unsafe warnings when compiling with Rust ≥1.94.  However,
on earlier Rust versions, the code won’t compile if the unsafe blocks
are absent.

Work around this by adding #[allow(unused_unsafe)] where needed to
suppress the warnings.

See #7588 for more discussion.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
2026-01-07 00:20:41 +00:00
..
aarch64 misc: clippy: add needless_pass_by_value 2025-11-27 17:11:14 +00:00
riscv64 misc: clippy: add needless_pass_by_value 2025-11-27 17:11:14 +00:00
x86_64 hypervisor: Suppress unused_unsafe warning 2026-01-07 00:20:41 +00:00
lib.rs misc: arch: drop extern crate, use modern rust 2025-11-24 22:36:46 +00:00