]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys/sgx/stack_overflow.rs
SGX target: fix std unit tests
[rust.git] / src / libstd / sys / sgx / stack_overflow.rs
index c0e7c824615c88a824c84005fbfcf42b6ced8fe4..e63fa2bed65d56700f5a67447f5bc134602bf205 100644 (file)
@@ -6,6 +6,7 @@ pub unsafe fn new() -> Handler {
     }
 }
 
+#[cfg_attr(test, allow(dead_code))]
 pub unsafe fn init() {
 }