# io: Correctly align async closure contexts · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/cca2d0995099fc37ac792e6322cad88cc67ac056)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: cca2d0995099fc37ac792e6322cad88cc67ac056

Requested commit: cca2d0995099fc37ac792e6322cad88cc67ac056

Commit: cca2d0995099fc37ac792e6322cad88cc67ac056

Tree: b1e73ce9c370c2cdf9bf47ef045c2cc6381e785c

Author: Carl Åstholm

Committer: Carl Åstholm

## Message

```
io: Correctly align async closure contexts

This fixes package fetching on Windows.

Previously, `Async/GroupClosure` allocations were only aligned for the
closure struct type, which resulted in panics when `context_alignment`
(or `result_alignment` for that matter) had a greater alignment.

```

## Parents

- [5f1392247d8bb0c6355f2986ff6fbf09a0885b6f](https://git.cafe/gitcafe/zig/commit/5f1392247d8bb0c6355f2986ff6fbf09a0885b6f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/cca2d0995099fc37ac792e6322cad88cc67ac056?format=markdown)
