Skip to content

Commit cba58bc

Browse files
committed
---
yaml --- r: 1411 b: refs/heads/master c: aaa6965 h: refs/heads/master i: 1409: 5aa9c28 1407: c671057 v: v3
1 parent cd9aafc commit cba58bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 60f97aa9cc73ee4e0b57abc07dc543c8fa823ee2
2+
refs/heads/master: aaa6965794b9ff0d942a1367bc7b99f52fd49f99

trunk/src/rt/rust_task.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ rust_task::start(uintptr_t exit_task_glue,
174174
src += 1; // spawn-call output slot
175175
src += 1; // spawn-call task slot
176176
src += 1; // spawn-call closure-or-obj slot
177-
// Memcpy all but the task and output pointers
178-
callsz -= (2 * sizeof(uintptr_t));
177+
// Memcpy all but the task, output and env pointers
178+
callsz -= (3 * sizeof(uintptr_t));
179179
spp = (uintptr_t*) (((uintptr_t)spp) - callsz);
180180
memcpy(spp, src, callsz);
181181

0 commit comments

Comments
 (0)