Parcourir la source

Add unsafe_block_in_unsafe_fn feature to acpi crate

This silences a really annoying warning that I didn't think would stick
around for this long.
Isaac Woods il y a 4 ans
Parent
commit
11acad784e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      acpi/src/lib.rs

+ 1 - 1
acpi/src/lib.rs

@@ -22,7 +22,7 @@
 //! gathered from the static tables, and can be queried to set up hardware etc.
 
 #![no_std]
-#![feature(const_generics)]
+#![feature(const_generics, unsafe_block_in_unsafe_fn)]
 
 extern crate alloc;
 #[cfg_attr(test, macro_use)]