diff options
| author | Vexu <15308111+Vexu@users.noreply.github.com> | 2019-11-23 22:56:05 +0200 |
|---|---|---|
| committer | Vexu <15308111+Vexu@users.noreply.github.com> | 2019-11-23 22:57:34 +0200 |
| commit | b9ef36094c9ffc522def982c98abcb97cd067761 (patch) | |
| tree | 1e3a1265c7ce8e21f7b2f91213cf3f72e3ff4faa /lib | |
| parent | 6c64f079fa4a80949e0721e112a77a771239752d (diff) | |
| download | zig-b9ef36094c9ffc522def982c98abcb97cd067761.tar.gz zig-b9ef36094c9ffc522def982c98abcb97cd067761.zip | |
re-enable stage2 tests
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/event/group.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/std/event/group.zig b/lib/std/event/group.zig index 77dd2cd1aa..0f6a892594 100644 --- a/lib/std/event/group.zig +++ b/lib/std/event/group.zig @@ -66,11 +66,10 @@ pub fn Group(comptime ReturnType: type) type { node.* = AllocStack.Node{ .next = undefined, .data = Node{ - .handle = frame, - .bytes = @sliceToBytes((*[1]@Frame(func))(frame)[0..]), + .handle = @asyncCall(frame, {}, func, args), + .bytes = std.mem.asBytes(frame), }, }; - frame.* = async func(args); self.alloc_stack.push(node); } |
