mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
pass more --dirs to wasmtime so it can read the entire module tree
This allows compress/flate to pass on -target=wasi out of the box Fixes #2367
This commit is contained in:
@@ -47,6 +47,14 @@ type PackageJSON struct {
|
||||
ImportPath string
|
||||
Name string
|
||||
ForTest string
|
||||
Root string
|
||||
Module struct {
|
||||
Path string
|
||||
Main bool
|
||||
Dir string
|
||||
GoMod string
|
||||
GoVersion string
|
||||
}
|
||||
|
||||
// Source files
|
||||
GoFiles []string
|
||||
|
||||
Reference in New Issue
Block a user