mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
The local copy of bits.OnesCount64 was added for compatibility with Go 1.8 and earlier in CL 86477. Go 1.8 is no longer supported and go.mod requires Go 1.12, so drop the local copy and use bits.OnesCount64. Change-Id: Ieb77f0cef5f8f206b74ca737449efdcfe1949d44 Reviewed-on: https://go-review.googlesource.com/c/sys/+/192357 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
1.9 KiB
1.9 KiB