mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 13:18:54 +01:00
rt: Reset the stack limit after catching an exception
This wasn't causing problems but it looked wrong
This commit is contained in:
parent
b78af4f7c4
commit
ba322b0a70
@ -135,6 +135,10 @@ void task_start_wrapper(spawn_args *a)
|
||||
if (task->c_stack) {
|
||||
task->return_c_stack();
|
||||
}
|
||||
|
||||
// Since we call glue code below we need to make sure we
|
||||
// have the stack limit set up correctly
|
||||
task->reset_stack_limit();
|
||||
}
|
||||
|
||||
// We should have returned any C stack by now
|
||||
|
Loading…
Reference in New Issue
Block a user