bunTargetFor turned windows/arm64 away, so magpie-windows-arm64.exe
listed a plugin as on while its host never started, and its providers
never showed. Bun publishes bun-windows-aarch64.zip (1.4.2 and later),
so windows/arm64 now maps to it, with no baseline suffix (arm64 has no
baseline build). Its SHA-256 a7a16b87…0cfd is added to bunSums, taken
from Bun 1.4.2's SHASUMS256.txt, so the download is still checked and
can come through a mirror. The provider-plugins page says so.
What was run (macOS arm64, sandbox HOME, private GOCACHE):
- TestWindowsOnArmGetsNativeBun (new): with windows/arm64 stubbed,
Bun() downloads bun-windows-aarch64.zip from an httptest release and
runs it; the checksum is the official one. Old bun.go: FAIL
"bunTarget = "", Bun has no build for windows/arm64".
- TestBunTargetForMusl gains windows/arm64 and now checks every
target has a checksum; TestBunDefaultSums and TestBunTarget list
bun-windows-aarch64. Both FAIL on the old code.
- go test ./internal/plugin/ ok; gofmt -l clean; go vet darwin,
GOOS=linux -tags nogui, GOOS=windows clean;
GOOS=windows GOARCH=arm64 go build ok.
- Downloaded the real bun-v1.4.2/bun-windows-aarch64.zip: SHA-256
matches, it holds bun-windows-aarch64/bun.exe, a PE32+ Aarch64 binary.
Not tried: a real Windows ARM64 machine (the Windows box is x64), so
the plugin host starting on that bun is not verified.