diff --git a/cmd/tsconnect/common.go b/cmd/tsconnect/common.go index 20ed0117b..8b9387f87 100644 --- a/cmd/tsconnect/common.go +++ b/cmd/tsconnect/common.go @@ -234,7 +234,7 @@ func runWasmOpt(path string) error { return fmt.Errorf("Cannot stat %v: %w", path, err) } startSize := stat.Size() - cmd := exec.Command("../../tool/wasm-opt", "-Oz", path, "-o", path) + cmd := exec.Command("../../tool/wasm-opt", "--enable-bulk-memory", "-Oz", path, "-o", path) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr err = cmd.Run() diff --git a/go.toolchain.rev b/go.toolchain.rev index f53935e67..3117a39a1 100644 --- a/go.toolchain.rev +++ b/go.toolchain.rev @@ -1 +1 @@ -dc0ce6324d19b7539e8efebc64c94631615fd80a +6a17f14c058e230cc620b72cf80099c2aa7f7335 diff --git a/tool/binaryen.rev b/tool/binaryen.rev index bc6298e80..58c9bdf9d 100644 --- a/tool/binaryen.rev +++ b/tool/binaryen.rev @@ -1 +1 @@ -110 +111