We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unsafe_attr_outside_unsafe
#[naked]
1 parent fd0906e commit 2a63d08Copy full SHA for 2a63d08
src/vmx/vcpu.rs
@@ -812,6 +812,7 @@ macro_rules! vmx_entry_with {
812
}
813
814
impl<H: AxVCpuHal> VmxVcpu<H> {
815
+ #[warn(unsafe_attr_outside_unsafe)]
816
817
/// Enter guest with vmlaunch.
818
///
@@ -824,6 +825,7 @@ impl<H: AxVCpuHal> VmxVcpu<H> {
824
825
vmx_entry_with!("vmlaunch")
826
827
828
829
830
/// Enter guest with vmresume.
831
@@ -832,6 +834,7 @@ impl<H: AxVCpuHal> VmxVcpu<H> {
832
834
vmx_entry_with!("vmresume")
833
835
836
837
838
839
/// Return after vm-exit.
840
0 commit comments