mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -21,6 +21,8 @@ bld/
|
|||||||
![Cc]ore/[Ll]og/
|
![Cc]ore/[Ll]og/
|
||||||
# Visual Studio 2015 cache/options directory
|
# Visual Studio 2015 cache/options directory
|
||||||
.vs/
|
.vs/
|
||||||
|
# Visual Studio Code options directory
|
||||||
|
.vscode/
|
||||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||||
#wwwroot/
|
#wwwroot/
|
||||||
demo
|
demo
|
||||||
|
|||||||
+1
-1
@@ -1907,7 +1907,7 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) {
|
|||||||
array_add(&c->info.testing_procedures, e);
|
array_add(&c->info.testing_procedures, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (start != nullptr) {
|
||||||
start->flags |= EntityFlag_Used;
|
start->flags |= EntityFlag_Used;
|
||||||
add_dependency_to_set(c, start);
|
add_dependency_to_set(c, start);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -875,12 +875,6 @@ bool parse_build_flags(Array<String> args) {
|
|||||||
String path = value.value_string;
|
String path = value.value_string;
|
||||||
path = string_trim_whitespace(path);
|
path = string_trim_whitespace(path);
|
||||||
if (is_build_flag_path_valid(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);
|
build_context.out_filepath = path_to_full_path(heap_allocator(), path);
|
||||||
} else {
|
} else {
|
||||||
gb_printf_err("Invalid -out path, got %.*s\n", LIT(path));
|
gb_printf_err("Invalid -out path, got %.*s\n", LIT(path));
|
||||||
|
|||||||
Reference in New Issue
Block a user