diff --git a/examples/basic.rs b/tests/basic.rs similarity index 98% rename from examples/basic.rs rename to tests/basic.rs index 8cc3515..cad24a9 100644 --- a/examples/basic.rs +++ b/tests/basic.rs @@ -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();