diff options
| author | gingerBill <bill@gingerbill.org> | 2021-03-09 11:40:42 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-03-09 11:40:42 +0000 |
| commit | 84bb3499005e89184a46dc34dc575fd879cb6f26 (patch) | |
| tree | 97ef99f8e85ee5e7bfd3db11a393bff47167d02a /src/main.cpp | |
| parent | 3ff7bded642ef399fda68ac1078d6a091474ab11 (diff) | |
| parent | 8784b79482159ab4908c4b7233c24c6af06a8861 (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index b1fc8fd35..0897e5fa6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -875,12 +875,6 @@ bool parse_build_flags(Array<String> args) { String path = value.value_string; path = string_trim_whitespace(path); if (is_build_flag_path_valid(path)) { - #if defined(GB_SYSTEM_WINDOWS) - String ext = path_extension(path); - if (ext == ".exe") { - path = substring(path, 0, string_extension_position(path)); - } - #endif build_context.out_filepath = path_to_full_path(heap_allocator(), path); } else { gb_printf_err("Invalid -out path, got %.*s\n", LIT(path)); |