]> git.lizzy.rs Git - rust.git/blob - src/libstd/sys/sgx/stack_overflow.rs
SGX target: fix std unit tests
[rust.git] / src / libstd / sys / sgx / stack_overflow.rs
1 pub struct Handler;
2
3 impl Handler {
4     pub unsafe fn new() -> Handler {
5         Handler
6     }
7 }
8
9 #[cfg_attr(test, allow(dead_code))]
10 pub unsafe fn init() {
11 }
12
13 pub unsafe fn cleanup() {
14 }