aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorbumbread <thebumboni@gmail.com>2023-03-14 16:32:42 +1100
committerbumbread <thebumboni@gmail.com>2023-03-14 16:32:42 +1100
commit5134d6bc63cf39cc987bf5a11a724ad3db69a0a1 (patch)
tree09d3cff9b48907194acd8ec84f286611dc02b961 /src/check_decl.cpp
parent5f3b6c9722007d731193a90f97e566127120f6ed (diff)
rename -no-tls to -no-thread-local
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}