소스 검색

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 5 년 전
부모
커밋
11acad784e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)]