get rid of some minor warnings

This commit is contained in:
edef 2016-03-22 07:35:25 +01:00
parent 5512cf8cb7
commit 2b23083455
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#![feature(test)] #![feature(test)]
extern crate test; extern crate test;
extern crate fringe; extern crate fringe;
use fringe::{Context, Stack}; use fringe::Context;
static mut ctx_slot: *mut Context<'static, SliceStack<'static>> = 0 as *mut Context<_>; static mut ctx_slot: *mut Context<'static, SliceStack<'static>> = 0 as *mut Context<_>;
static mut stack_buf: [u8; 1024] = [0; 1024]; static mut stack_buf: [u8; 1024] = [0; 1024];

View File

@ -8,7 +8,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 {
esp: *mut usize esp: *mut usize