Explorar el Código

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 hace 5 años
padre
commit
11acad784e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)]