| ... | ... | @@ -1971,10 +1971,10 @@ Error emit_error_unless_callconv_allowed_for_target(CodeGen *g, AstNode *source_ |
| 1971 | 1971 | case CallingConventionAAPCSVFP: |
| 1972 | 1972 | if (!target_is_arm(g->zig_target)) |
| 1973 | 1973 | allowed_platforms = "ARM"; |
| 1974 | break; |
| 1974 | 1975 | case CallingConventionSysV: |
| 1975 | 1976 | if (g->zig_target->arch != ZigLLVM_x86_64) |
| 1976 | 1977 | allowed_platforms = "x86_64"; |
| 1977 | | break; |
| 1978 | 1978 | } |
| 1979 | 1979 | if (allowed_platforms != nullptr) { |
| 1980 | 1980 | add_node_error(g, source_node, buf_sprintf( |