go-cmp icon indicating copy to clipboard operation
go-cmp copied to clipboard

Error at init when running on Windows ARM

Open anacrolix opened this issue 1 year ago • 2 comments

When running a Windows x64 binary on Windows ARM, I get this error during startup:

panic: regexp: Compile(`[_\p{L}][_\p{L}\p{N}]*$`): error parsing regexp: invalid character class range: `\p{L}`

goroutine 1 [running]:
regexp.MustCompile({0x7ff66897b52c, 0x17})
	/opt/homebrew/Cellar/go/1.22.3/libexec/src/regexp/regexp.go:317 +0xb4
github.com/google/go-cmp/cmp/internal/function.init()
	/Users/anacrolix/go/pkg/mod/github.com/google/[email protected]/cmp/internal/function/func.go:68 +0x7c

It's very possible this is an upstream issue with golang/go, but I thought I'd start here.

anacrolix avatar Jul 01 '24 14:07 anacrolix

Hi, thanks for reporting the issue, but this is almost certainly a upstream issue.

dsnet avatar Jul 01 '24 17:07 dsnet

Thanks, I'll close this out when upstream confirms.

anacrolix avatar Jul 02 '24 09:07 anacrolix

Okay I think it's safe to say the issue is upstream. Thanks!

anacrolix avatar Jul 18 '24 03:07 anacrolix