diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-08 16:59:23 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-11 17:31:40 -0700 |
| commit | 22001d1dcef5d2c40a242402f75d5acc540bee2b (patch) | |
| tree | a55206e06b4cc3dabebb699d295c9b83704c0b94 /src/lib | |
| parent | d267e7486e7158f8633424389f789d23149e1064 (diff) | |
| download | rust-22001d1dcef5d2c40a242402f75d5acc540bee2b.tar.gz rust-22001d1dcef5d2c40a242402f75d5acc540bee2b.zip | |
Remove hack_allow_leaks
Happy to close the loop on this one. Issue #236
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/test.rs | 7 |
1 files changed, 0 insertions, 7 deletions
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: |
