patch internal/reflectlite; demo: sort.Ints

This commit is contained in:
xushiwei
2024-06-21 11:02:28 +08:00
parent f26311c60e
commit b93fc3f028
7 changed files with 70 additions and 14 deletions

View File

@@ -739,18 +739,19 @@ func canSkipToBuild(pkgPath string) bool {
type none struct{}
var hasAltPkg = map[string]none{
"errors": {},
"internal/bytealg": {},
"io": {},
"io/fs": {},
"math": {},
"math/cmplx": {},
"reflect": {},
"sync": {},
"sync/atomic": {},
"syscall": {},
"os": {},
"runtime": {},
"errors": {},
"internal/bytealg": {},
"internal/reflectlite": {},
"io": {},
"io/fs": {},
"math": {},
"math/cmplx": {},
"reflect": {},
"sync": {},
"sync/atomic": {},
"syscall": {},
"os": {},
"runtime": {},
}
func check(err error) {