diff options
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index b4c38de99e7..20727dbcbfd 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -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(); |
