From 22001d1dcef5d2c40a242402f75d5acc540bee2b Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 8 Sep 2011 16:59:23 -0700 Subject: Remove hack_allow_leaks Happy to close the loop on this one. Issue #236 --- src/lib/test.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/lib/test.rs') diff --git a/src/lib/test.rs b/src/lib/test.rs index 37fec12e9ce..cbee1f1f479 100644 --- a/src/lib/test.rs +++ b/src/lib/test.rs @@ -26,7 +26,6 @@ export configure_test_task; export joinable; native "rust" mod rustrt { - fn hack_allow_leaks(); fn sched_threads() -> uint; } @@ -325,12 +324,6 @@ fn configure_test_task() { // If this task fails we don't want that failure to propagate to the // test runner or else we couldn't keep running tests task::unsupervise(); - - // FIXME (236): Hack supreme - unwinding doesn't work yet so if this - // task fails memory will not be freed correctly. This turns off the - // sanity checks in the runtime's memory region for the task, so that - // the test runner can continue. - rustrt::hack_allow_leaks(); } // Local Variables: -- cgit 1.4.1-3-g733a5