mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
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.
This commit is contained in:
committed by
Ron Evans
parent
8b626e6ea7
commit
b6c53a6f0e
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user