forked from rosa/hakurei
internal/rosa/go: require popcnt for x86
This backports https://go.dev/cl/746640. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -151,6 +151,9 @@ rm \
|
||||
sed -i \
|
||||
's,/lib/ld-musl-`+linuxArch()+`.so.1,/system/bin/linker,' \
|
||||
cmd/link/internal/`+runtime.GOARCH+`/obj.go
|
||||
sed -i \
|
||||
's/cpu.X86.HasAVX512VBMI/& \&\& cpu.X86.HasPOPCNT/' \
|
||||
internal/runtime/gc/scan/scan_amd64.go
|
||||
|
||||
rm \
|
||||
os/root_unix_test.go
|
||||
|
||||
Reference in New Issue
Block a user