aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/parser.cpp
diff options
context:
space:
mode:
authorJay Petacat <jay@jayschwa.net>2021-05-05 00:02:16 -0400
committerAndrew Kelley <andrew@ziglang.org>2021-05-05 03:15:44 -0400
commit70a9a3a562582173c140a064762b674e3c761a41 (patch)
tree06897ff50e2b4ac3df4881bf0c86df478fe5e78a /src/stage1/parser.cpp
parent785a6c1aa9a7979a962db9d741a53897c423cb92 (diff)
downloadzig-70a9a3a562582173c140a064762b674e3c761a41.tar.gz
zig-70a9a3a562582173c140a064762b674e3c761a41.zip
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.
Diffstat (limited to 'src/stage1/parser.cpp')
0 files changed, 0 insertions, 0 deletions