We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a27c3 commit b36ce51Copy full SHA for b36ce51
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 74d5faa86e1bd1fc678ae3e5aee49e8445470002
+refs/heads/master: f57fd8de1f771b48055e665950dc678fbaf38de1
trunk/src/rt/rust_task.cpp
@@ -284,7 +284,9 @@ void task_start_wrapper(spawn_args *a)
284
failed = true;
285
}
286
287
- cc::do_cc(task);
+ // We're on the Rust stack and the cycle collector may recurse arbitrarily
288
+ // deep, so switch to the C stack
289
+ task->sched->c_context.call_shim_on_c_stack(task, (void*)cc::do_cc);
290
291
rust_closure_env* env = (rust_closure_env*)a->a3;
292
if(env) {
0 commit comments