remove feature attributes for stable stuff
This commit is contained in:
parent
bc46941e89
commit
bb2b92bf6b
|
@ -7,7 +7,6 @@ use super::common::{push, rust_trampoline};
|
||||||
|
|
||||||
pub const STACK_ALIGN: usize = 16;
|
pub const STACK_ALIGN: usize = 16;
|
||||||
|
|
||||||
#[allow(raw_pointer_derive)]
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Registers {
|
pub struct Registers {
|
||||||
rsp: *mut usize
|
rsp: *mut usize
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
// This file is part of libfringe, a low-level green threading library.
|
// This file is part of libfringe, a low-level green threading library.
|
||||||
// Copyright (c) 2015, edef <edef@edef.eu>
|
// Copyright (c) 2015, edef <edef@edef.eu>
|
||||||
// See the LICENSE file included in this distribution.
|
// See the LICENSE file included in this distribution.
|
||||||
#![feature(no_std)]
|
#![feature(asm)]
|
||||||
#![feature(asm, core)]
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
//! libfringe is a low-level green threading library.
|
//! libfringe is a low-level green threading library.
|
||||||
|
|
|
@ -11,7 +11,6 @@ mod sys;
|
||||||
/// anonymous memory mapping facility, usually `mmap`.
|
/// anonymous memory mapping facility, usually `mmap`.
|
||||||
/// The stack it provides comes with a guard page, which is not included
|
/// The stack it provides comes with a guard page, which is not included
|
||||||
/// in the stack limit.
|
/// in the stack limit.
|
||||||
#[allow(raw_pointer_derive)]
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Stack {
|
pub struct Stack {
|
||||||
ptr: *mut u8,
|
ptr: *mut u8,
|
||||||
|
|
Loading…
Reference in New Issue