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:
parent
a223063923
commit
5c3a9a1a3e
6 changed files with 308 additions and 105 deletions
Loading…
Add table
Add a link
Reference in a new issue