@@ -10891,7 +10891,7 @@ pub const FILE = switch (native_os) {
10891
10891
10892
10892
pub fn stdin () * FILE {
10893
10893
return switch (native_os ) {
10894
- .linux , .serenity , .haiku = > private .stdin ,
10894
+ .linux , .serenity , .haiku , .wasi = > private .stdin ,
10895
10895
.freebsd , .dragonfly , .macos , .ios , .tvos , .watchos , .visionos = > private .__stdinp ,
10896
10896
.netbsd , .openbsd = > & private .__sF [0 ],
10897
10897
.solaris , .illumos = > & private .__iob [0 ],
@@ -10902,7 +10902,7 @@ pub fn stdin() *FILE {
10902
10902
10903
10903
pub fn stdout () * FILE {
10904
10904
return switch (native_os ) {
10905
- .linux , .serenity , .haiku = > private .stdout ,
10905
+ .linux , .serenity , .haiku , .wasi = > private .stdout ,
10906
10906
.freebsd , .dragonfly , .macos , .ios , .tvos , .watchos , .visionos = > private .__stdoutp ,
10907
10907
.netbsd , .openbsd = > & private .__sF [1 ],
10908
10908
.solaris , .illumos = > & private .__iob [1 ],
@@ -10913,7 +10913,7 @@ pub fn stdout() *FILE {
10913
10913
10914
10914
pub fn stderr () * FILE {
10915
10915
return switch (native_os ) {
10916
- .linux , .serenity , .haiku = > private .stderr ,
10916
+ .linux , .serenity , .haiku , .wasi = > private .stderr ,
10917
10917
.freebsd , .dragonfly , .macos , .ios , .tvos , .watchos , .visionos = > private .__stderrp ,
10918
10918
.netbsd , .openbsd = > & private .__sF [2 ],
10919
10919
.solaris , .illumos = > & private .__iob [2 ],
@@ -11423,7 +11423,7 @@ const private = struct {
11423
11423
extern "c" fn __libc_current_sigrtmin () c_int ;
11424
11424
extern "c" fn __libc_current_sigrtmax () c_int ;
11425
11425
11426
- // Linux, Serenity, Haiku
11426
+ // Linux, Serenity, Haiku, WASI
11427
11427
extern "c" var stdin : * FILE ;
11428
11428
extern "c" var stdout : * FILE ;
11429
11429
extern "c" var stderr : * FILE ;
0 commit comments