cmd/go: include simd bridge package in compiled test imports
It looks like a missing logic which breaks a very simple hello world
simd program. To reproduce: create a new directory, `go mod init main`,
write a very simple main.go that imports simd/archsimd, and then open
it with vscode+gopls, then cmd/go will panic:
Error loading workspace: packages.Load error: err: exit status 2: stderr: panic: runtime error: index out of range [0] with length 0
This CL fixes that.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[dev.simd] cmd/go: include simd bridge package in compiled test imports
It looks like a missing logic which breaks a very simple hello world
simd program. To reproduce: create a new directory, `go mod init main`,
write a very simple main.go that imports simd/archsimd, and then open
it with vscode+gopls, then cmd/go will panic:
Error loading workspace: packages.Load error: err: exit status 2: stderr: panic: runtime error: index out of range [0] with length 0
This CL fixes that.
Cherry pick of CL 788281
Change-Id: I03706a12dd0d8e2351494abe95265e4fc7672e48
Reviewed-on: https://go-review.googlesource.com/c/go/+/788281
LUCI-TryBot-Result: golang...@luci-project-accounts.iam.gserviceaccount.com <golang...@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drc...@google.com>
(cherry picked from commit a79201bad3812bc4088b397feffe8802c60116fa)
Reviewed-on: https://go-review.googlesource.com/c/go/+/788360
Reviewed-by: Junyang Shao <shaoj...@google.com>
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |