diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2023-10-15 12:53:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-15 12:53:32 +0200 |
| commit | a62039882e85d58894a4ae74ea88a2bda4bb2023 (patch) | |
| tree | fd188bbcc15d286e6103d4d5c090b1d74d52ff8c /src/checker.cpp | |
| parent | 45d08ea9928be172e5c437507e79e9ac70c7c867 (diff) | |
| parent | a2a05e40e6cb57e0fe4c5d8c86815551044559d3 (diff) | |
Merge pull request #2867 from flysand7/linux-asm
Implement foreign asm (x86) imports for linux and osx
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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])); } |