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 cd9aafc commit cba58bcCopy full SHA for cba58bc
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 60f97aa9cc73ee4e0b57abc07dc543c8fa823ee2
+refs/heads/master: aaa6965794b9ff0d942a1367bc7b99f52fd49f99
trunk/src/rt/rust_task.cpp
@@ -174,8 +174,8 @@ rust_task::start(uintptr_t exit_task_glue,
174
src += 1; // spawn-call output slot
175
src += 1; // spawn-call task slot
176
src += 1; // spawn-call closure-or-obj slot
177
- // Memcpy all but the task and output pointers
178
- callsz -= (2 * sizeof(uintptr_t));
+ // Memcpy all but the task, output and env pointers
+ callsz -= (3 * sizeof(uintptr_t));
179
spp = (uintptr_t*) (((uintptr_t)spp) - callsz);
180
memcpy(spp, src, callsz);
181
0 commit comments