]> Cypherpunks repositories - gostls13.git/commit
internal/bytealg: extend memchr result correctly on wasm
authorZxilly <zxilly@outlook.com>
Wed, 17 Jul 2024 05:34:55 +0000 (05:34 +0000)
committerKeith Randall <khr@golang.org>
Wed, 17 Jul 2024 07:00:20 +0000 (07:00 +0000)
commit90c6558b6acef5a9b9fb8f3c35cff58423c8b00e
tree75d469070761e8adbaede69f1210e256b2407c40
parent355711821eea51c6456a31ab61d0dc2e9db034f7
internal/bytealg: extend memchr result correctly on wasm

The mem address should be regarded as uint32.

Fixes #65571

Change-Id: Icee38d11f2d93eeca7d50b2e133159e321daeb90
GitHub-Last-Rev: c2568b104369bcf5c4d42c6281d235a52bb9675f
GitHub-Pull-Request: golang/go#68400
Reviewed-on: https://go-review.googlesource.com/c/go/+/597955
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/bytes/bytes_js_wasm_test.go [new file with mode: 0644]
src/internal/bytealg/indexbyte_wasm.s