From bb2b92bf6b9dbcbebeea0bb85c49f202964aee80 Mon Sep 17 00:00:00 2001 From: edef Date: Wed, 16 Mar 2016 00:14:09 +0100 Subject: [PATCH] remove feature attributes for stable stuff --- src/arch/x86_64/mod.rs | 1 - src/lib.rs | 3 +-- src/os/mod.rs | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) 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,