about summary refs log tree commit diff
path: root/src/libstd/sys/sgx/stack_overflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/sgx/stack_overflow.rs')
-rw-r--r--src/libstd/sys/sgx/stack_overflow.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/sgx/stack_overflow.rs b/src/libstd/sys/sgx/stack_overflow.rs
index c0e7c824615..e63fa2bed65 100644
--- a/src/libstd/sys/sgx/stack_overflow.rs
+++ b/src/libstd/sys/sgx/stack_overflow.rs
@@ -6,6 +6,7 @@ impl Handler {
     }
 }
 
+#[cfg_attr(test, allow(dead_code))]
 pub unsafe fn init() {
 }