aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/zig0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stage1/zig0.cpp')
-rw-r--r--src/stage1/zig0.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stage1/zig0.cpp b/src/stage1/zig0.cpp
index f248f6e866..ea0c397243 100644
--- a/src/stage1/zig0.cpp
+++ b/src/stage1/zig0.cpp
@@ -112,6 +112,8 @@ static Os get_zig_os_type(ZigLLVM_OSType os_type) {
return OsAMDHSA;
case ZigLLVM_PS4:
return OsPS4;
+ case ZigLLVM_PS5:
+ return OsPS5;
case ZigLLVM_ELFIAMCU:
return OsELFIAMCU;
case ZigLLVM_TvOS:
@@ -132,6 +134,10 @@ static Os get_zig_os_type(ZigLLVM_OSType os_type) {
return OsWASI;
case ZigLLVM_Emscripten:
return OsEmscripten;
+ case ZigLLVM_DriverKit:
+ return OsDriverKit;
+ case ZigLLVM_ShaderModel:
+ return OsShaderModel;
}
zig_unreachable();
}