diff options
author | Damian Gryski <[email protected]> | 2024-07-02 07:02:03 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-02 07:02:03 -0700 |
commit | 9cb263479c4b98f2d28889ca1acc297454e0d875 (patch) | |
tree | a30bcf8ef9086c5b8edfcee3b42bef352f396878 /loader | |
parent | f18c6e342f834988caf43fd652b2baae9c3093f0 (diff) | |
download | tinygo-9cb263479c4b98f2d28889ca1acc297454e0d875.tar.gz tinygo-9cb263479c4b98f2d28889ca1acc297454e0d875.zip |
wasi preview 2 support (#4027)
* all: wasip2 support
Co-authored-by: Randy Reddig <[email protected]>
Diffstat (limited to 'loader')
-rw-r--r-- | loader/goroot.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/loader/goroot.go b/loader/goroot.go index 7c8d97fa4..72b2f3335 100644 --- a/loader/goroot.go +++ b/loader/goroot.go @@ -241,6 +241,7 @@ func pathsToOverride(goMinor int, needsSyscallPackage bool) map[string]bool { "internal/fuzz/": false, "internal/reflectlite/": false, "internal/task/": false, + "internal/wasi/": false, "machine/": false, "net/": true, "net/http/": false, @@ -250,6 +251,8 @@ func pathsToOverride(goMinor int, needsSyscallPackage bool) map[string]bool { "runtime/": false, "sync/": true, "testing/": true, + "vendor/": true, + "vendor/github.com/": false, } if goMinor >= 19 { |