Skip to content

Commit b6c53a6

Browse files
aykevldeadprogram
authored andcommitted
darwin: work around a linker error for the mime/quotedprintable tests
This is needed for Go 1.23 support. These functions should ideally get implemented. Until that's done, just panic here. Apparently panicking in internal/abi.FuncPCABI0 is enough to fix all linker errors for mime/quotedprintable.
1 parent 8b626e6 commit b6c53a6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/internal/abi/funcpc.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ package abi
55
// implementation, in part because TinyGo doesn't use ABI0 or ABIInternal (it
66
// uses a C-like calling convention).
77

8-
func FuncPCABI0(f interface{}) uintptr
8+
func FuncPCABI0(f interface{}) uintptr {
9+
panic("unimplemented: internal/abi.FuncPCABI0")
10+
}
911

10-
func FuncPCABIInternal(f interface{}) uintptr
12+
func FuncPCABIInternal(f interface{}) uintptr {
13+
panic("unimplemented: internal/abi.FuncPCABIInternal")
14+
}

0 commit comments

Comments
 (0)