diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-02-28 14:21:39 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-02-28 14:21:39 -0800 |
| commit | b01d2babaf29b2798fa624676a1c9fcbcbc1e30a (patch) | |
| tree | 8fa0039b625635d875de12ef67499a3717000612 | |
| parent | b171d0ef7b68fed961597d38e6a474d748243987 (diff) | |
| download | rust-b01d2babaf29b2798fa624676a1c9fcbcbc1e30a.tar.gz rust-b01d2babaf29b2798fa624676a1c9fcbcbc1e30a.zip | |
rt: Comment out an assert in rust_kernel. #4711
| -rw-r--r-- | src/rt/rust_kernel.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp index 4d2d6ad344c..761dbeade53 100644 --- a/src/rt/rust_kernel.cpp +++ b/src/rt/rust_kernel.cpp @@ -342,8 +342,11 @@ rust_kernel::register_exit_function(spawn_fn runner, fn_env_pair *f) { assert(!at_exit_started && "registering at_exit function after exit"); if (at_exit_runner) { - assert(runner == at_exit_runner - && "there can be only one at_exit_runner"); + // FIXME #2912 Would be very nice to assert this but we can't because + // of the way coretest works (the test case ends up using its own + // function) + //assert(runner == at_exit_runner + // && "there can be only one at_exit_runner"); } at_exit_runner = runner; |
