Browse Source

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.
pull/4418/head
Ayke van Laethem 3 months ago
committed by Ron Evans
parent
commit
b6c53a6f0e
  1. 8
      src/internal/abi/funcpc.go

8
src/internal/abi/funcpc.go

@ -5,6 +5,10 @@ package abi
// implementation, in part because TinyGo doesn't use ABI0 or ABIInternal (it
// uses a C-like calling convention).
func FuncPCABI0(f interface{}) uintptr
func FuncPCABI0(f interface{}) uintptr {
panic("unimplemented: internal/abi.FuncPCABI0")
}
func FuncPCABIInternal(f interface{}) uintptr
func FuncPCABIInternal(f interface{}) uintptr {
panic("unimplemented: internal/abi.FuncPCABIInternal")
}

Loading…
Cancel
Save