| author | |
| committer | |
| log | d43204c950a24467a85e14fe5ba026e1eac2a19f |
| tree | 00a69477a4a4a465d9fbb79fd2f4c7c64ae7b4eb |
| parent | 5c4504e00511280ae8bec1118908909fd062c29b |
2 files changed, 3 insertions(+), 1 deletions(-)
src/main.cpp+1-1| ... | ... | @@ -700,7 +700,7 @@ int main(int argc, char **argv) { |
| 700 | 700 | |
| 701 | 701 | ZigTarget *non_null_target = target ? target : &native; |
| 702 | 702 | |
| 703 | Buf *test_exe_name = buf_sprintf("./test%s", target_exe_file_ext(non_null_target)); | |
| 703 | Buf *test_exe_name = buf_sprintf("." OS_SEP "test%s", target_exe_file_ext(non_null_target)); | |
| 704 | 704 | |
| 705 | 705 | for (size_t i = 0; i < test_exec_args.length; i += 1) { |
| 706 | 706 | if (test_exec_args.items[i] == nullptr) { |
src/os.hpp+2| ... | ... | @@ -85,11 +85,13 @@ bool os_is_sep(uint8_t c); |
| 85 | 85 | #define ZIG_PRI_u64 "I64u" |
| 86 | 86 | #define ZIG_PRI_llu "I64u" |
| 87 | 87 | #define ZIG_PRI_x64 "I64x" |
| 88 | #define OS_SEP "\\" | |
| 88 | 89 | #else |
| 89 | 90 | #define ZIG_PRI_usize "zu" |
| 90 | 91 | #define ZIG_PRI_u64 PRIu64 |
| 91 | 92 | #define ZIG_PRI_llu "llu" |
| 92 | 93 | #define ZIG_PRI_x64 PRIx64 |
| 94 | #define OS_SEP "/" | |
| 93 | 95 | #endif |
| 94 | 96 | |
| 95 | 97 | #endif |