From 5134d6bc63cf39cc987bf5a11a724ad3db69a0a1 Mon Sep 17 00:00:00 2001 From: bumbread Date: Tue, 14 Mar 2023 16:32:42 +1100 Subject: rename -no-tls to -no-thread-local --- src/check_decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_decl.cpp') diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 828009b3d..5c25dd6a3 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1146,7 +1146,7 @@ gb_internal void check_global_variable_decl(CheckerContext *ctx, Entity *&e, Ast // NOTE(bill): ignore this message for the time being // error(e->token, "@(thread_local) is not supported for this target platform"); } - if(build_context.no_tls) { + if(build_context.no_thread_local) { e->Variable.thread_local_model.len = 0; } -- cgit v1.2.3