get rid of some minor warnings
This commit is contained in:
parent
5512cf8cb7
commit
2b23083455
|
@ -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];
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue