Skip to content

Commit

Permalink
rt: Comment out an assert in rust_kernel. rust-lang#4711
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Feb 28, 2013
1 parent b171d0e commit b01d2ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/rt/rust_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit b01d2ba

@brson
Copy link
Owner Author

@brson brson commented on b01d2ba Feb 28, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.