| ... | @@ -1072,9 +1072,10 @@ bool want_first_arg_sret(CodeGen *g, FnTypeId *fn_type_id) { | ... | @@ -1072,9 +1072,10 @@ bool want_first_arg_sret(CodeGen *g, FnTypeId *fn_type_id) { |
| 1072 | if (abi_class == X64CABIClass_MEMORY) { | 1072 | if (abi_class == X64CABIClass_MEMORY) { |
| 1073 | return true; | 1073 | return true; |
| 1074 | } | 1074 | } |
| 1075 | zig_panic("TODO implement C ABI for x86_64 return types. '%s'", buf_ptr(&fn_type_id->return_type->name)); | 1075 | zig_panic("TODO implement C ABI for x86_64 return types. type '%s'\nSee https://github.com/ziglang/zig/issues/1481", |
| | 1076 | buf_ptr(&fn_type_id->return_type->name)); |
| 1076 | } | 1077 | } |
| 1077 | zig_panic("TODO implement C ABI for this architecture"); | 1078 | zig_panic("TODO implement C ABI for this architecture. See https://github.com/ziglang/zig/issues/1481"); |
| 1078 | } | 1079 | } |
| 1079 | | 1080 | |
| 1080 | ZigType *get_fn_type(CodeGen *g, FnTypeId *fn_type_id) { | 1081 | ZigType *get_fn_type(CodeGen *g, FnTypeId *fn_type_id) { |