From 7f00d081d3313ef9598dd0182edb623fd2fb4234 Mon Sep 17 00:00:00 2001 From: Alexander Bachmann Date: Sun, 9 Jan 2022 10:27:35 +0100 Subject: [PATCH] remove feature flag for 'lang_items', 'asm' and 'global_asm' --- src/bin/bios.rs | 3 --- src/bin/uefi.rs | 1 - src/lib.rs | 1 - tests/runner/src/main.rs | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/bin/bios.rs b/src/bin/bios.rs index 8f2eaedf..153f339a 100644 --- a/src/bin/bios.rs +++ b/src/bin/bios.rs @@ -1,6 +1,3 @@ -#![feature(lang_items)] -#![feature(global_asm)] -#![feature(asm)] #![no_std] #![no_main] diff --git a/src/bin/uefi.rs b/src/bin/uefi.rs index dc5223f6..d81ebfd2 100644 --- a/src/bin/uefi.rs +++ b/src/bin/uefi.rs @@ -1,7 +1,6 @@ #![no_std] #![no_main] #![feature(abi_efiapi)] -#![feature(asm)] #![feature(maybe_uninit_extra)] #![deny(unsafe_op_in_unsafe_fn)] diff --git a/src/lib.rs b/src/lib.rs index ba237106..d30fb4cc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -66,7 +66,6 @@ for all possible configuration options. */ #![cfg_attr(not(feature = "builder"), no_std)] -#![feature(asm)] #![feature(maybe_uninit_extra)] #![feature(maybe_uninit_slice)] #![deny(unsafe_op_in_unsafe_fn)] diff --git a/tests/runner/src/main.rs b/tests/runner/src/main.rs index a083ce15..cdad97b8 100644 --- a/tests/runner/src/main.rs +++ b/tests/runner/src/main.rs @@ -1,7 +1,7 @@ use std::{ io::Write, path::{Path, PathBuf}, - process::{Command, Stdio}, + process::Command, }; const QEMU_ARGS: &[&str] = &[