mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-12 14:21:25 -07:00
add tls when we have crt
This commit is contained in:
+3
-2
@@ -3619,8 +3619,9 @@ int main(int arg_count, char const **arg_ptr) {
|
||||
// }
|
||||
|
||||
// Warn about Windows i386 thread-local storage limitations
|
||||
if (build_context.metrics.arch == TargetArch_i386 && build_context.metrics.os == TargetOs_windows) {
|
||||
gb_printf_err("Warning: Thread-local storage is disabled on Windows i386.\n");
|
||||
if (build_context.metrics.arch == TargetArch_i386 && build_context.metrics.os == TargetOs_windows && build_context.no_crt) {
|
||||
gb_printf_err("Warning: Thread-local storage is not supported on Windows i386 with -no-crt.\n");
|
||||
gb_printf_err(" Multi-threaded code will not work correctly.\n");
|
||||
}
|
||||
|
||||
// Check chosen microarchitecture. If not found or ?, print list.
|
||||
|
||||
Reference in New Issue
Block a user