diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-27 23:29:36 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-27 23:29:36 +0200 |
| commit | 140ee036cef1857feca1444178a3700108e61698 (patch) | |
| tree | 279bfaacded81b380315052210d8277195377a77 /src | |
| parent | a0a48bfe3440a844b3ce2c9e14369e99f50faeae (diff) | |
wasm error is no longer relevant
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_decl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 818556951..b5307838c 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -1320,9 +1320,9 @@ gb_internal void check_global_variable_decl(CheckerContext *ctx, Entity *&e, Ast error(e->token, "A foreign variable declaration cannot have a default value"); } init_entity_foreign_library(ctx, e); - if (is_arch_wasm()) { - error(e->token, "A foreign variable declaration are not allowed for the '%.*s' architecture", LIT(target_arch_names[build_context.metrics.arch])); - } + // if (is_arch_wasm()) { + // error(e->token, "A foreign variable declaration are not allowed for the '%.*s' architecture", LIT(target_arch_names[build_context.metrics.arch])); + // } } if (ac.link_name.len > 0) { e->Variable.link_name = ac.link_name; |