]> Cypherpunks repositories - gostls13.git/commitdiff
misc/wasm: move wasm runtime files to lib/wasm
authorZxilly <zxilly@outlook.com>
Sat, 24 Aug 2024 08:39:47 +0000 (08:39 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 30 Aug 2024 19:15:21 +0000 (19:15 +0000)
Fixes #68024

Change-Id: I730c3ecfb14472f3eea3895c2a4d5e1d4ac146f5
GitHub-Last-Rev: 4242f360103ba1fd1f4085b8257ccce0f07a68e5
GitHub-Pull-Request: golang/go#68840
Reviewed-on: https://go-review.googlesource.com/c/go/+/604696
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
56 files changed:
doc/next/7-ports.md
lib/wasm/go_js_wasm_exec [moved from misc/wasm/go_js_wasm_exec with 100% similarity]
lib/wasm/go_wasip1_wasm_exec [moved from misc/wasm/go_wasip1_wasm_exec with 100% similarity]
lib/wasm/wasm_exec.js [moved from misc/wasm/wasm_exec.js with 100% similarity]
lib/wasm/wasm_exec_node.js [moved from misc/wasm/wasm_exec_node.js with 100% similarity]
misc/wasm/wasm_exec.html
src/cmd/distpack/test.go
src/cmd/go/internal/toolchain/select.go
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.aix-ppc64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.android-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.android-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.android-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.android-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.darwin-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.darwin-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.dragonfly-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.freebsd-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.freebsd-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.freebsd-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.freebsd-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.freebsd-riscv64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.illumos-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.ios-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.ios-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.js-wasm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-loong64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-mips64x.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-mipsx.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-ppc64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-ppc64le.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-riscv64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.linux-s390x.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.netbsd-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.netbsd-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.netbsd-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.netbsd-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-arm64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-mips64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-ppc64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.openbsd-riscv64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.plan9-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.plan9-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.plan9-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.solaris-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.windows-386.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.windows-amd64.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.windows-arm.txt
src/cmd/go/testdata/mod/golang.org_toolchain_v0.0.1-go1.999testmod.windows-arm64.txt
src/syscall/js/js_test.go

index 8bea3f8fbc33f90f98bd40929a4a3a2fccb7481c..2b564bf88935f60546bd8369f7b02ef5051fe6c7 100644 (file)
@@ -1,2 +1,5 @@
 ## Ports {#ports}
 
+### WebAssembly {#wasm}
+
+The support files for WebAssembly have been moved to `lib/wasm` from `misc/wasm`.
similarity index 100%
rename from misc/wasm/wasm_exec.js
rename to lib/wasm/wasm_exec.js
index 72e64473eb588d231aff3cd29e7ae0ab5c3b24ac..694b526df149278ee0acba0adaf48569e08e0b21 100644 (file)
@@ -17,7 +17,7 @@ license that can be found in the LICENSE file.
        <script src="https://cdn.jsdelivr.net/npm/text-encoding@0.7.0/lib/encoding.min.js"></script>
        (see https://caniuse.com/#feat=textencoder)
        -->
-       <script src="wasm_exec.js"></script>
+       <script src="../../lib/wasm/wasm_exec.js"></script>
        <script>
                if (!WebAssembly.instantiateStreaming) { // polyfill
                        WebAssembly.instantiateStreaming = async (resp, importObject) => {
index 108907d0e6bbeede580702d5c0db22f51efa4de9..4f260cb0dfd636d2e0fcb2e36be229f1b1b5b679 100644 (file)
@@ -73,6 +73,11 @@ var modRules = []testRule{
        {name: "golang.org/toolchain@*/src/cmd/go/main.go"},
        {name: "golang.org/toolchain@*/src/bytes/bytes.go"},
 
+       {name: "golang.org/toolchain@*/lib/wasm/go_js_wasm_exec"},
+       {name: "golang.org/toolchain@*/lib/wasm/go_wasip1_wasm_exec"},
+       {name: "golang.org/toolchain@*/lib/wasm/wasm_exec.js"},
+       {name: "golang.org/toolchain@*/lib/wasm/wasm_exec_node.js"},
+
        {name: "**/.DS_Store", exclude: true},
        {name: "golang.org/toolchain@*/.git", exclude: true},
        {name: "golang.org/toolchain@*/.gitattributes", exclude: true},
index b20a2332a4720cdc2073895568a84dc30a82cd00..8925c6bd51ec8d5294f78b613d4c39aeba1dbb37 100644 (file)
@@ -353,13 +353,20 @@ func Exec(gotoolchain string) {
                        base.Fatalf("download %s: %v", gotoolchain, err)
                }
                if info.Mode()&0111 == 0 {
-                       // allowExec sets the exec permission bits on all files found in dir.
-                       allowExec := func(dir string) {
+                       // allowExec sets the exec permission bits on all files found in dir if pattern is the empty string,
+                       // or only those files that match the pattern if it's non-empty.
+                       allowExec := func(dir, pattern string) {
                                err := filepath.WalkDir(dir, func(path string, d fs.DirEntry, err error) error {
                                        if err != nil {
                                                return err
                                        }
                                        if !d.IsDir() {
+                                               if pattern != "" {
+                                                       if matched, _ := filepath.Match(pattern, d.Name()); !matched {
+                                                               // Skip file.
+                                                               return nil
+                                                       }
+                                               }
                                                info, err := os.Stat(path)
                                                if err != nil {
                                                        return err
@@ -380,12 +387,13 @@ func Exec(gotoolchain string) {
                        // then the check of bin/go above might succeed, the other go command
                        // would skip its own mode-setting, and then the go command might
                        // try to run a tool before we get to setting the bits on pkg/tool.
-                       // Setting pkg/tool before bin/go avoids that ordering problem.
+                       // Setting pkg/tool and lib before bin/go avoids that ordering problem.
                        // The only other tool the go command invokes is gofmt,
                        // so we set that one explicitly before handling bin (which will include bin/go).
-                       allowExec(filepath.Join(dir, "pkg/tool"))
-                       allowExec(filepath.Join(dir, "bin/gofmt"))
-                       allowExec(filepath.Join(dir, "bin"))
+                       allowExec(filepath.Join(dir, "pkg/tool"), "")
+                       allowExec(filepath.Join(dir, "lib"), "go_?*_?*_exec")
+                       allowExec(filepath.Join(dir, "bin/gofmt"), "")
+                       allowExec(filepath.Join(dir, "bin"), "")
                }
        }
 
index e70c4d7185da5fac938a1b934579397e834ddb5d..ba40ef33d6eba258d3fbc92b60e3090f1c752880 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 981334eae955fa60c10de66292f0d8440c88d34e..abed143614d2b7235767c17985034695d777303b 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index a01fce844a22f5313bfaeca2efd8b66dca8a3543..34ed03825cbcc2d67422d93012b4c71646ad58cc 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 0de1cecbab8db01cbc28adb11c5d4eaecf7a56e3..f399f998979890d97a178656a7135d33b8e205c0 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 1ebeadcb9fd0421b4a85465fc69d2bddc6fc12a0..947af20b0f199b30348062731d2e67db112e2fb8 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 509185322e92956860f769b9ba8fd7fea3d7d584..19e8c4ab99087690994a3b6d7fc36fb0a6e7bae5 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 6b2b132d2d038659cbc81c2a56335c0e98a6c37d..8da52c69a5dab2857080b435a475f76bbb9d723a 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 814180adddf8bbf093b6aede5654c9482a68e003..06441291f33304ca80582576c359b7d8a7c4a4ee 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 12e0df493e104e7570937e0ea5046464a33f35e3..82cd5a7a30e61d202d29a1de24e92663ace5407b 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index bf470a5a05d29fb5080c79f6f5ae84b908be5f20..b0b0d2894da9bb2dcf2896a8e1091f95b4602e58 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index dc32e0edf47211cd6142847cdd127e18e1303e8b..1d4c492b57a9e3b962a869850bd47a27980092ec 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 4335ba6fc74e9b767f571dce686d6f9a0a7c4532..b9ec6725b6c57f4cc98d8108c5630f1b61993491 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 6161fe2f8182b095ed931934ae3fbba77b3df030..80a87862c83ba38211af8bd7814d093509f069aa 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index b677457f6e7b0b0915a023be1a94ca8899badd52..71ef4ed569e7ace7bc487d8059dbad8556199efd 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index e8363bcb7fe5a5309bdec1cf57fbe2c7d79f1307..39e3ce1c24f8fb58f79c2c1449f2b4543b342a7f 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 9585966f2a7d97cdabc4a5b553cfd9d1f9233813..789cbde7a9177ac5f912833742bdd2726475071f 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 37fa6c06b7f34a4e99f8f1c01ea3ba417841d03b..34af7aa9d40dc1e8a49760bfb25e285ba15a4c87 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index ee966385f60cdb3795eb4c80fc457271f3e911de..62b88000c49ef1c35116c550e5f4fc06f3ef8e06 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 6277341561a5dd7732be3ba03b5114bea52a22e7..d35dd7d7b4cef1ba3ae9e07d4897fe2c25429b3f 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 678711b1a1bd7e5f2f7c314ea3aa19a2ea9fbd68..de644691a7208dde1f28611994932774dc4c1838 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index bb305ab250307706e11a41688de8d19f2bfedd7f..2cd0d9ad46ea8a4ebef6b70cf75e914799745c07 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 52a23d4b4ad1c85e3bc597b6dfe34c3e2579fecf..fe1b08976f3ff6405d806474f8e0a09caaa86976 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 79fff1322eb62f3606876e5bfa9b481223b8889a..40c93aee59100eb1518b6bef810de79b298ab851 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index a7256265637f6244d7cff90a92e74d0e79a93525..bb5865dc7d9d327b7c18ff5694402b2304e58f34 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index f25ae8eddcb10f3a152eaaffd10453a040443efe..c8927f6af91d440dcbe36a35d4738c8d1d0b5924 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index e22b8ee205b84a0124e75e2b96d618eca1f9186f..f0f012b9df0aa32a28870cdb27b4b0678f13d338 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 2e15fe3cf6fc99267b29b5a113435a15e2247885..2c6038b0533e82d4fba0310143ddcfe47eef1ee3 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 1022ee4935153e7944af4ccd186d0993a27624b0..54f5d9ff1b5858ce24371838ed6ec7a544790660 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 8b7b156e441329f1632a9705aa919d1714195461..cf6738ec658c7ea97f9b82d1030a8f6ae0d53d0f 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index ebdb407c4c2fd0acc5195fd7136b8f782b28d09e..d4e6b93cd1012e03cd9cf93934ea5956b321d571 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index fcacf0800fafd16d9e935f2867fd9d10596412dd..0d776d23c764b1435955c07b75eea0e13bb74ff8 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index c2bd257cc57ec3e5b29293872b00b3d068d1abaa..3c22682d07cba36d4715c3189bace86ca0d64552 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 965a054f6d3e81f14d0db1eae36c61d0a8b730da..af280c34bdac1fa6934f64689096f1465760513c 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 1acb7a3b3447c25452b36d03bfc8d51882487da9..a6807639f460154101f5a5e21e55220999fa35dc 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 0e47d9cda7dde1ca3e271e50a9ec630f7c9cbf21..9b1986b406b65c20802838b57499c090032b6a42 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 8c99161865f61580d4e5da32229cffc3dada6d9a..9adffc2de7fb865dd30ebc1a786422d7e5f06489 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 6c7cdfbfe49312bec643448dfbcf7530c41f231c..f9bfb7cd40c9224f93411fc5735a8408cc0d7726 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 60c73b7c1aab03fe47fbc343755b15c86917f411..0bd75a655083e0716849a01e8a54a236bfcd5570 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 978be3bf7858dcfd04fb439008c3ebaf2790ee04..3b012445380fcbab1b2ed38219df7c7a635a0b6e 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 26f720984ca8ccf45c6846d437ffb6231abeca75..cf3725216d77256a4ea1e6f0a715d99837afed3e 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 7cf1ddecb0fd0b24f873e31c0b8900a3cad6608f..2f1e6b9ade9909184ca606710921bbb50c96772b 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 3c3b6a74b63c69f53e1518e58d7ff18528769e6e..f76a36de84a92dda11b9937d903d3450dc3a65aa 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index a750aaf114ec3a4ed32aba8f034024cde9ff8f87..330a904d4954dc79f136c4929f24444423e9a146 100644 (file)
@@ -12,3 +12,4 @@ echo go1.999testmod here!
 -- bin/gofmt --
 echo i am unused
 -- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index ca0f7aabb0d3175c4aaa8662f104f9cc86348c83..65fff4cd425308318cae4b5d4f5cc25efdd1dad5 100644 (file)
@@ -8,3 +8,5 @@ module golang.org/toolchain
 module golang.org/toolchain
 -- bin/go.bat --
 @echo go1.999testmod here!
+-- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index 44e16c7a0404dabfe4263411aa11bb6898142970..a78e7c8879cc11e72d87acbbd83bf9b306d5ca1f 100644 (file)
@@ -8,3 +8,5 @@ module golang.org/toolchain
 module golang.org/toolchain
 -- bin/go.bat --
 @echo go1.999testmod here!
+-- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index ee4e016943191ae25236c0c627861c5f05aebabd..b734bf98c58fd1b6c63427eff2f34dc4b40da863 100644 (file)
@@ -8,3 +8,5 @@ module golang.org/toolchain
 module golang.org/toolchain
 -- bin/go.bat --
 @echo go1.999testmod here!
+-- pkg/tool/fake --
+-- lib/wasm/go_js_wasm_exec --
index be3ff801868e23e9f3fb8248d8f7e4202db35728..b60ffbe90320836a6793a55af77de2da63ce938f 100644 (file)
@@ -8,3 +8,4 @@ module golang.org/toolchain
 module golang.org/toolchain
 -- bin/go.bat --
 @echo go1.999testmod here!
+-- lib/wasm/go_js_wasm_exec --
index d6bcc6370d4e7b0f98b4cafe6dd3cbd2cb1ef671..76fa44244259c9a10c70639634220bbd336e84c4 100644 (file)
@@ -7,7 +7,7 @@
 // To run these tests:
 //
 // - Install Node
-// - Add /path/to/go/misc/wasm to your $PATH (so that "go test" can find
+// - Add /path/to/go/lib/wasm to your $PATH (so that "go test" can find
 //   "go_js_wasm_exec").
 // - GOOS=js GOARCH=wasm go test
 //