about summary refs log tree commit diff
path: root/src/libcore/sys.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-02-03 09:34:42 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-03 11:34:12 +0100
commitc1b075d042cabb90f804f3d73e6a4f4b512aa697 (patch)
treeac1501fb72bff6b04597c054c138ae2fc8ce24dc /src/libcore/sys.rs
parent1ea184285eec782f90ecf4e77c854edfb0269e1b (diff)
Remove experimental GC code
It's been sitting unused long enough to have bitrotted completely.
Diffstat (limited to 'src/libcore/sys.rs')
-rw-r--r--src/libcore/sys.rs10
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() -> () {