about summary refs log tree commit diff
path: root/src/libstd/sys/hermit/stack_overflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/hermit/stack_overflow.rs')
-rw-r--r--src/libstd/sys/hermit/stack_overflow.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libstd/sys/hermit/stack_overflow.rs b/src/libstd/sys/hermit/stack_overflow.rs
new file mode 100644
index 00000000000..b339e433e77
--- /dev/null
+++ b/src/libstd/sys/hermit/stack_overflow.rs
@@ -0,0 +1,15 @@
+pub struct Handler;
+
+impl Handler {
+    pub unsafe fn new() -> Handler {
+        Handler
+    }
+}
+
+#[inline]
+pub unsafe fn init() {
+}
+
+#[inline]
+pub unsafe fn cleanup() {
+}