unique: implement custom version of unique package

This version probably isn't as fast as the upstream version, but it is
good enough for now. It also doesn't free unreferenced handles like the
upstream version.
This commit is contained in:
Ayke van Laethem
2024-06-23 14:42:25 +02:00
committed by Ron Evans
parent b8048112df
commit 560fd0a558
4 changed files with 152 additions and 0 deletions
+1
View File
@@ -251,6 +251,7 @@ func pathsToOverride(goMinor int, needsSyscallPackage bool) map[string]bool {
"runtime/": false,
"sync/": true,
"testing/": true,
"unique/": false,
}
if goMinor >= 19 {