| ... | @@ -16,10 +16,6 @@ const Allocator = std.mem.Allocator; | ... | @@ -16,10 +16,6 @@ const Allocator = std.mem.Allocator; |
| 16 | | 16 | |
| 17 | fn getStdOutHandle() posix.fd_t { | 17 | fn getStdOutHandle() posix.fd_t { |
| 18 | if (is_windows) { | 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 | return windows.peb().ProcessParameters.hStdOutput; | 19 | return windows.peb().ProcessParameters.hStdOutput; |
| 24 | } | 20 | } |
| 25 | | 21 | |
| ... | @@ -36,10 +32,6 @@ pub fn getStdOut() File { | ... | @@ -36,10 +32,6 @@ pub fn getStdOut() File { |
| 36 | | 32 | |
| 37 | fn getStdErrHandle() posix.fd_t { | 33 | fn getStdErrHandle() posix.fd_t { |
| 38 | if (is_windows) { | 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 | return windows.peb().ProcessParameters.hStdError; | 35 | return windows.peb().ProcessParameters.hStdError; |
| 44 | } | 36 | } |
| 45 | | 37 | |
| ... | @@ -56,10 +48,6 @@ pub fn getStdErr() File { | ... | @@ -56,10 +48,6 @@ pub fn getStdErr() File { |
| 56 | | 48 | |
| 57 | fn getStdInHandle() posix.fd_t { | 49 | fn getStdInHandle() posix.fd_t { |
| 58 | if (is_windows) { | 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 | return windows.peb().ProcessParameters.hStdInput; | 51 | return windows.peb().ProcessParameters.hStdInput; |
| 64 | } | 52 | } |
| 65 | | 53 | |