diff --git a/src/arch/x86_64/mod.rs b/src/arch/x86_64/mod.rs index b3fd228..66d1a2e 100644 --- a/src/arch/x86_64/mod.rs +++ b/src/arch/x86_64/mod.rs @@ -7,7 +7,6 @@ use super::common::{push, rust_trampoline}; pub const STACK_ALIGN: usize = 16; -#[allow(raw_pointer_derive)] #[derive(Debug)] pub struct Registers { rsp: *mut usize diff --git a/src/lib.rs b/src/lib.rs index a470e25..6fe6922 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,8 +1,7 @@ // This file is part of libfringe, a low-level green threading library. // Copyright (c) 2015, edef // See the LICENSE file included in this distribution. -#![feature(no_std)] -#![feature(asm, core)] +#![feature(asm)] #![no_std] //! libfringe is a low-level green threading library. diff --git a/src/os/mod.rs b/src/os/mod.rs index 38f577b..517d138 100644 --- a/src/os/mod.rs +++ b/src/os/mod.rs @@ -11,7 +11,6 @@ mod sys; /// anonymous memory mapping facility, usually `mmap`. /// The stack it provides comes with a guard page, which is not included /// in the stack limit. -#[allow(raw_pointer_derive)] #[derive(Debug)] pub struct Stack { ptr: *mut u8,