| ... | ... | @@ -16,10 +16,6 @@ const Allocator = std.mem.Allocator; |
| 16 | 16 | |
| 17 | 17 | fn getStdOutHandle() posix.fd_t { |
| 18 | 18 | if (is_windows) { |
| 19 | | if (builtin.zig_backend == .stage2_aarch64) { |
| 20 | | // TODO: this is just a temporary workaround until we advance aarch64 backend further along. |
| 21 | | return windows.GetStdHandle(windows.STD_OUTPUT_HANDLE) catch windows.INVALID_HANDLE_VALUE; |
| 22 | | } |
| 23 | 19 | return windows.peb().ProcessParameters.hStdOutput; |
| 24 | 20 | } |
| 25 | 21 | |
| ... | ... | @@ -36,10 +32,6 @@ pub fn getStdOut() File { |
| 36 | 32 | |
| 37 | 33 | fn getStdErrHandle() posix.fd_t { |
| 38 | 34 | if (is_windows) { |
| 39 | | if (builtin.zig_backend == .stage2_aarch64) { |
| 40 | | // TODO: this is just a temporary workaround until we advance aarch64 backend further along. |
| 41 | | return windows.GetStdHandle(windows.STD_ERROR_HANDLE) catch windows.INVALID_HANDLE_VALUE; |
| 42 | | } |
| 43 | 35 | return windows.peb().ProcessParameters.hStdError; |
| 44 | 36 | } |
| 45 | 37 | |
| ... | ... | @@ -56,10 +48,6 @@ pub fn getStdErr() File { |
| 56 | 48 | |
| 57 | 49 | fn getStdInHandle() posix.fd_t { |
| 58 | 50 | if (is_windows) { |
| 59 | | if (builtin.zig_backend == .stage2_aarch64) { |
| 60 | | // TODO: this is just a temporary workaround until we advance aarch64 backend further along. |
| 61 | | return windows.GetStdHandle(windows.STD_INPUT_HANDLE) catch windows.INVALID_HANDLE_VALUE; |
| 62 | | } |
| 63 | 51 | return windows.peb().ProcessParameters.hStdInput; |
| 64 | 52 | } |
| 65 | 53 | |