From a2a05e40e6cb57e0fe4c5d8c86815551044559d3 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Sun, 15 Oct 2023 19:32:11 +1100 Subject: implemented foreign asm imports on linux/osx --- src/checker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/checker.cpp') diff --git a/src/checker.cpp b/src/checker.cpp index 51cef9e2c..29f22bd9c 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -4733,8 +4733,7 @@ gb_internal void check_add_foreign_import_decl(CheckerContext *ctx, Ast *decl) { } if (has_asm_extension(fullpath)) { - if (build_context.metrics.arch != TargetArch_amd64 || - build_context.metrics.os != TargetOs_windows) { + if (build_context.metrics.arch != TargetArch_amd64) { error(decl, "Assembly files are not yet supported on this platform: %.*s_%.*s", LIT(target_os_names[build_context.metrics.os]), LIT(target_arch_names[build_context.metrics.arch])); } -- cgit v1.2.3