From ff703e5cb08fa1108b688341928301567677d757 Mon Sep 17 00:00:00 2001 From: Erin Date: Thu, 16 Jun 2022 00:19:36 +0200 Subject: [PATCH] Features in one attribute --- ableos/src/lib.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ableos/src/lib.rs b/ableos/src/lib.rs index 8460eba8..49c58304 100644 --- a/ableos/src/lib.rs +++ b/ableos/src/lib.rs @@ -4,11 +4,13 @@ //! #![no_std] -#![feature(abi_x86_interrupt)] -#![feature(alloc_error_handler)] -#![feature(prelude_import)] -#![feature(asm_sym)] // Needed for riscv -#![feature(naked_functions)] +#![feature( + abi_x86_interrupt, + alloc_error_handler, + asm_sym, // Needed for RISC-V + naked_functions, + prelude_import, +)] #[macro_use] pub extern crate log;