Turn the example into a test

Fix #14
This commit is contained in:
John Ericson 2015-09-08 21:31:29 -07:00 committed by edef
parent be21d75814
commit 65f4b0fd17
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ use fringe::Context;
#[thread_local]
static mut ctx_slot: *mut Context<'static, fringe::OsStack> = 0 as *mut Context<_>;
#[test]
fn main() {
unsafe {
let stack = fringe::OsStack::new(4 << 20).unwrap();