mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 22:13:39 +00:00
db2a06a9bb
This package can never be a full version as seen in upstream Go, because TinyGo is very different. But it is necessary to define so that no code can accidentally use this package (now or in the future). It currently defines: - NoEscape which is needed by strings.Builder since Go 1.23. - FuncPCABI* which is needed by internal/syscall/unix on MacOS.
11 lines
377 B
Go
11 lines
377 B
Go
package abi
|
|
|
|
// These two signatures are present to satisfy the expectation of some programs
|
|
// (in particular internal/syscall/unix on MacOS). They do not currently have an
|
|
// implementation, in part because TinyGo doesn't use ABI0 or ABIInternal (it
|
|
// uses a C-like calling convention).
|
|
|
|
func FuncPCABI0(f interface{}) uintptr
|
|
|
|
func FuncPCABIInternal(f interface{}) uintptr
|