0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

improvements to @asyncCall

* `await @asyncCall` generates better code. See #3065
 * `@asyncCall` works with a real `@Frame(func)` in addition to
   a byte slice. Closes #3072
 * `@asyncCall` allows passing `{}` (a void value) as the result
   pointer, which uses the result location inside the frame.
   Closes #3068
 * support `await @asyncCall` on a non-async function. This is in
   preparation for safe recursion (#1006).
This commit is contained in:
Andrew Kelley 2019-08-31 18:50:16 -04:00
commit 5c3a9a1a3e
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9
6 changed files with 308 additions and 105 deletions