mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-15 14:53:43 +00:00
#import and #load
#import - imported entities will not get exported #load - loaded entities will get exported
This commit is contained in:
@@ -148,13 +148,13 @@ int main(int argc, char **argv) {
|
||||
gb_for_array(i, parser.system_libraries) {
|
||||
String lib = parser.system_libraries[i];
|
||||
isize len = gb_snprintf(lib_str_buf, gb_size_of(lib_str_buf),
|
||||
" -l%.*s", LIT(lib));
|
||||
" -l%.*s.lib", LIT(lib));
|
||||
lib_str = gb_string_appendc(lib_str, lib_str_buf);
|
||||
}
|
||||
|
||||
exit_code = win32_exec_command_line_app(
|
||||
"clang %.*s.bc -o %.*s.exe "
|
||||
"-O0 "
|
||||
"-O0 -g "
|
||||
// "-O2 "
|
||||
"-Wno-override-module "
|
||||
"%s",
|
||||
|
||||
Reference in New Issue
Block a user