# Add missing clobbers to context switching · gitcafe/zig

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

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

Visibility: public

Requested revision: fcac8617b4e3c8fcb3a8c888fe77fa8bff1c2057

Requested commit: fcac8617b4e3c8fcb3a8c888fe77fa8bff1c2057

Commit: fcac8617b4e3c8fcb3a8c888fe77fa8bff1c2057

Tree: 615c69bafcb4a3137fb7c34f4afcfc93965e732f

Author: Lukas Lalinsky

Committer: Andrew Kelley

## Message

```
Add missing clobbers to context switching

This only shows in release mode, the compiler tries to preserve some
value in rdi, but that gets replaced inside the fiber. This would not
happen in the C calling convention, but in these normal Zig functions,
it can happen.

```

## Parents

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

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