aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ctr-std/src/lib.rs')
-rw-r--r--ctr-std/src/lib.rs21
1 files changed, 4 insertions, 17 deletions
diff --git a/ctr-std/src/lib.rs b/ctr-std/src/lib.rs
index 99b77a2..28ab259 100644
--- a/ctr-std/src/lib.rs
+++ b/ctr-std/src/lib.rs
@@ -26,6 +26,7 @@
#![feature(lang_items)]
#![feature(macro_reexport)]
#![feature(needs_drop)]
+#![feature(needs_panic_runtime)]
#![feature(oom)]
#![feature(on_unimplemented)]
#![feature(optin_builtin_traits)]
@@ -45,10 +46,13 @@
#![feature(unicode)]
#![feature(unique)]
#![feature(untagged_unions)]
+#![feature(unwind_attributes)]
#![feature(zero_one)]
#![allow(non_camel_case_types, dead_code, unused_features)]
#![no_std]
+#![needs_panic_runtime]
+
#![cfg_attr(not(stage0), default_lib_allocator)]
#![stable(feature = "rust1", since = "1.0.0")]
@@ -197,20 +201,3 @@ pub mod rt;
pub mod __rand {
pub use rand::{thread_rng, ThreadRng, Rng};
}
-
-// NOTE: These two are "undefined" symbols that LLVM emits but that
-// we never actually use
-#[doc(hidden)]
-
-#[stable(feature = "3ds", since = "1.0.0")]
-#[no_mangle]
-pub unsafe extern "C" fn __aeabi_unwind_cpp_pr0() {
- intrinsics::unreachable()
-}
-
-#[stable(feature = "3ds", since = "1.0.0")]
-#[doc(hidden)]
-#[no_mangle]
-pub unsafe extern "C" fn __aeabi_unwind_cpp_pr1() {
- intrinsics::unreachable()
-}