mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-22 19:59:53 +00:00
Add intrinsics.wasm_memory_grow intrinsics.wasm_memory_size
This commit is contained in:
@@ -1137,7 +1137,9 @@ void check_global_variable_decl(CheckerContext *ctx, Entity *&e, Ast *type_expr,
|
||||
ac.link_name = handle_link_name(ctx, e->token, ac.link_name, ac.link_prefix);
|
||||
|
||||
if (is_arch_wasm() && e->Variable.thread_local_model.len != 0) {
|
||||
error(e->token, "@(thread_local) is not supported for this target platform");
|
||||
e->Variable.thread_local_model.len = 0;
|
||||
// NOTE(bill): ignore this message for the time begin
|
||||
// error(e->token, "@(thread_local) is not supported for this target platform");
|
||||
}
|
||||
|
||||
String context_name = str_lit("variable declaration");
|
||||
|
||||
Reference in New Issue
Block a user