mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
rt: Fix typo
This commit is contained in:
parent
596376ea55
commit
564d8e09c7
@ -521,7 +521,7 @@ rust_task::new_stack(size_t requested_sz) {
|
||||
if (!unwinding && used_stack > max_stack) {
|
||||
LOG_ERR(this, task, "task %" PRIxPTR " ran out of stack", this);
|
||||
fail();
|
||||
} else if (unwinding && used_stack > max_stack) {
|
||||
} else if (unwinding && used_stack > max_stack * 2) {
|
||||
LOG_ERR(this, task,
|
||||
"task %" PRIxPTR " ran out of stack during unwinding", this);
|
||||
fail();
|
||||
|
Loading…
Reference in New Issue
Block a user