# stage1: Fix other OS target · gitcafe/zig

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

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

Visibility: public

Requested revision: 70a9a3a562582173c140a064762b674e3c761a41

Requested commit: 70a9a3a562582173c140a064762b674e3c761a41

Commit: 70a9a3a562582173c140a064762b674e3c761a41

Tree: 06897ff50e2b4ac3df4881bf0c86df478fe5e78a

Author: Jay Petacat

Committer: Andrew Kelley

## Message

```
stage1: Fix other OS target

PR #7827 added some new `std.Target.Os.Tag` before `other`.
The corresponding enum in stage1.h was not updated, which caused a
mismatch in the underlying integer values. While attempting to target
`other`, I encountered crashes.

This PR updates the stage1.h enum to include the added OS tags.
The new tags also had to be added to various switch cases to fix
compiler warnings, but have not been tested in any way.

```

## Parents

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

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