Skip to content

Commit fa598a5

Browse files
malt3fmeum
authored andcommitted
Export new location of support files needed for using Go's WASM output.
1 parent f0d3aa7 commit fa598a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

go/private/BUILD.sdk.bazel

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ filegroup(
117117
exports_files(
118118
glob([
119119
"lib/time/zoneinfo.zip",
120-
"misc/wasm/**",
120+
# wasm support files including wasm_exec.js
121+
# for GOOS=js GOARCH=wasm
122+
# located in misc/wasm/ (Go 1.23 and earlier)
123+
# or lib/wasm/ (Go 1.24 and later)
124+
"*/wasm/**",
121125
]),
122126
visibility = ["//visibility:public"],
123127
)

0 commit comments

Comments
 (0)