mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
loader, iter: add shim for go1.22 and earlier
This commit is contained in:
@@ -261,6 +261,10 @@ func pathsToOverride(goMinor int, needsSyscallPackage bool) map[string]bool {
|
||||
"unique/": false,
|
||||
}
|
||||
|
||||
if goMinor <= 22 {
|
||||
paths["iter]"] = false
|
||||
}
|
||||
|
||||
if goMinor >= 19 {
|
||||
paths["crypto/internal/"] = true
|
||||
paths["crypto/internal/boring/"] = true
|
||||
|
||||
Reference in New Issue
Block a user