Skip to content

Commit a3461b7

Browse files
uefi: mark as always single threaded
1 parent a874158 commit a3461b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/target.zig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ pub fn supports_fpic(target: std.Target) bool {
6464
}
6565

6666
pub fn alwaysSingleThreaded(target: std.Target) bool {
67-
_ = target;
67+
switch (target.os.tag) {
68+
// Technically, multithreaded is possible but we don't support it currently.
69+
.uefi => return true,
70+
else => {},
71+
}
6872
return false;
6973
}
7074

0 commit comments

Comments
 (0)