diff options
author | Ayke van Laethem <[email protected]> | 2024-06-22 17:56:29 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-08-17 11:49:14 +0200 |
commit | db2a06a9bb4a16850511294b7418fca6422e668b (patch) | |
tree | 354f125a7c86048c23c41bb1357a1df39def2034 /loader | |
parent | 560fd0a558772d73ca9b7f26459447e709b515a6 (diff) | |
download | tinygo-db2a06a9bb4a16850511294b7418fca6422e668b.tar.gz tinygo-db2a06a9bb4a16850511294b7418fca6422e668b.zip |
internal/abi: implement initial version of this package
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.
Diffstat (limited to 'loader')
-rw-r--r-- | loader/goroot.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/goroot.go b/loader/goroot.go index 7325db5b4..09edab320 100644 --- a/loader/goroot.go +++ b/loader/goroot.go @@ -236,6 +236,7 @@ func pathsToOverride(goMinor int, needsSyscallPackage bool) map[string]bool { "device/": false, "examples/": false, "internal/": true, + "internal/abi/": false, "internal/binary/": false, "internal/bytealg/": false, "internal/cm/": false, |