diff options
Diffstat (limited to 'src/libcore/sys.rs')
| -rw-r--r-- | src/libcore/sys.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libcore/sys.rs b/src/libcore/sys.rs index e8fc38da0e0..40b50c1ad4b 100644 --- a/src/libcore/sys.rs +++ b/src/libcore/sys.rs @@ -17,7 +17,6 @@ native mod rustrt { // visible-in-crate, but not re-exported. fn last_os_error() -> str; fn refcount<T>(t: @T) -> ctypes::intptr_t; - fn do_gc(); fn unsupervise(); fn shape_log_str<T>(t: *sys::type_desc, data: T) -> str; fn rust_set_exit_status(code: ctypes::intptr_t); @@ -74,15 +73,6 @@ fn refcount<T>(t: @T) -> uint { ret rustrt::refcount::<T>(t); } -/* -Function: do_gc - -Force a garbage collection -*/ -fn do_gc() -> () { - ret rustrt::do_gc(); -} - // FIXME: There's a wrapper for this in the task module and this really // just belongs there fn unsupervise() -> () { |
