updated odin's str8_fmt_kt1l

This commit is contained in:
2025-10-10 23:11:46 -04:00
parent f14ef07a98
commit 2bbe654047
5 changed files with 62 additions and 70 deletions

View File

@@ -126,7 +126,7 @@ $compiler_args += ($flag_define + 'BUILD_DEBUG')
$compiler_args += $flag_debug
$compiler_args += ( $flag_path_debug + $path_build + '\' )
# Use the static, multithreaded, debug runtime library
$compiler_args += $flag_link_win_rt_static_debug
# $compiler_args += $flag_link_win_rt_static_debug
# Include setup
$compiler_args += ($flag_include + $path_root)

View File

@@ -85,7 +85,6 @@ msvc_link_default_base_address :: 0x180000000
//endregion Script Grime
build :: proc(working_dir : string, args : []string) -> (stdout : string, stderr : string) {
fmt.println("Building:", args)
res, errs : []byte; _, res, errs, _ = os.process_exec({ working_dir = working_dir, command = args}, context.allocator)
return transmute(string)res, transmute(string)errs;
}
@@ -106,8 +105,8 @@ main :: proc() {
file_source,
flag_file,
join_str(flag_output_path, file_exe),
// flag_optimize_none,
falg_optimize_aggressive,
flag_optimize_none,
// falg_optimize_aggressive,
flag_default_allocator_nil,
flag_debug,
flag_microarch_zen5,
@@ -117,6 +116,4 @@ main :: proc() {
flag_use_lld,
join_str(flag_subsystem, "console"),
})
fmt.println(res)
fmt.println(errs)
}

View File

@@ -44,5 +44,5 @@ $build_args += $flag_dyn_map_calls
$build_args += $flag_default_allocator_nil
$build_args += $flag_output_path + $exe
if ($need_rebuild) { & $odin $build_args }
pop-location
& $exe
pop-location