From 8b09e01fef9912e7c3eef997c40f9f4f91d09e4c Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 27 Oct 2016 20:57:49 -0600 Subject: Add redox system --- src/libstd/sys/redox/stack_overflow.rs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/libstd/sys/redox/stack_overflow.rs (limited to 'src/libstd/sys/redox/stack_overflow.rs') diff --git a/src/libstd/sys/redox/stack_overflow.rs b/src/libstd/sys/redox/stack_overflow.rs new file mode 100644 index 00000000000..c8595d38b21 --- /dev/null +++ b/src/libstd/sys/redox/stack_overflow.rs @@ -0,0 +1,27 @@ +// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +#![cfg_attr(test, allow(dead_code))] + +pub struct Handler; + +impl Handler { + pub unsafe fn new() -> Handler { + unimplemented!(); + } +} + +pub unsafe fn init() { + +} + +pub unsafe fn cleanup() { + unimplemented!(); +} -- cgit 1.4.1-3-g733a5