diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-08-01 23:31:53 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-08-03 23:39:04 -0700 |
| commit | ea84c1fd693104a9f8d06ee0654d0a3bf470a32a (patch) | |
| tree | 7680b255af2652a2611ac7ba752fba770aa7e2da /src/libstd/sys.rs | |
| parent | 93432a2c2f244f46c8c60c3988483b20def990b7 (diff) | |
| download | rust-ea84c1fd693104a9f8d06ee0654d0a3bf470a32a.tar.gz rust-ea84c1fd693104a9f8d06ee0654d0a3bf470a32a.zip | |
std: Remove gc and stackwalk
These are both obsoleted by the forthcoming new GC.
Diffstat (limited to 'src/libstd/sys.rs')
| -rw-r--r-- | src/libstd/sys.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/sys.rs b/src/libstd/sys.rs index 51609709cdb..9d853087123 100644 --- a/src/libstd/sys.rs +++ b/src/libstd/sys.rs @@ -13,7 +13,6 @@ #[allow(missing_doc)]; use cast; -use gc; use io; use libc; use libc::{c_char, size_t}; @@ -147,7 +146,6 @@ pub fn begin_unwind_(msg: *c_char, file: *c_char, line: size_t) -> ! { match context { OldTaskContext => { unsafe { - gc::cleanup_stack_for_failure(); rustrt::rust_upcall_fail(msg, file, line); cast::transmute(()) } @@ -180,8 +178,6 @@ pub fn begin_unwind_(msg: *c_char, file: *c_char, line: size_t) -> ! { msg, file, line as int); } - gc::cleanup_stack_for_failure(); - let task = Local::unsafe_borrow::<Task>(); if (*task).unwinder.unwinding { rtabort!("unwinding again"); |
