Browse Source

Merge pull request #862 from Kelimion/kelimion/master

Remove double removal of extension when using the -out option.
gingerBill 4 years ago
parent
commit
8784b79482
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/main.cpp

+ 0 - 6
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));