Skip to content

Commit fa5ca66

Browse files
committed
wasi: change os version to 0.0.0-preview.1
Closes #19581
1 parent 533f54c commit fa5ca66

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/std/Target.zig

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ pub const Os = struct {
157157
.amdpal,
158158
.hermit,
159159
.hurd,
160-
.wasi,
161160
.emscripten,
162161
.driverkit,
163162
.shadermodel,
@@ -180,6 +179,7 @@ pub const Os = struct {
180179
.openbsd,
181180
.dragonfly,
182181
.solaris,
182+
.wasi,
183183
=> .semver,
184184

185185
.linux => .linux,
@@ -377,7 +377,6 @@ pub const Os = struct {
377377
.amdpal,
378378
.hermit,
379379
.hurd,
380-
.wasi,
381380
.emscripten,
382381
.driverkit,
383382
.shadermodel,
@@ -454,6 +453,12 @@ pub const Os = struct {
454453
.max = .{ .major = 5, .minor = 11, .patch = 0 },
455454
},
456455
},
456+
.wasi => .{
457+
.semver = .{
458+
.min = .{ .major = 0, .minor = 0, .patch = 0, .pre = "preview.1" },
459+
.max = .{ .major = 0, .minor = 0, .patch = 0, .pre = "preview.1" },
460+
},
461+
},
457462

458463
.linux => .{
459464
.linux = .{

0 commit comments

Comments
 (0)