# stage2 wasm: Support basic switches · gitcafe/zig

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

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

Visibility: public

Requested revision: 81d8fe7558cdae829c30cba3c92dfc373336929c

Requested commit: 81d8fe7558cdae829c30cba3c92dfc373336929c

Commit: 81d8fe7558cdae829c30cba3c92dfc373336929c

Tree: 5da6bf37ec0afacd3256cd9e5ac272707c4a09f2

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
stage2 wasm: Support basic switches

- Adds support for single branches
- Allows both enums and integers
- Supports 'else' branch

```

## Parents

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

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