aboutsummaryrefslogtreecommitdiff
path: root/src/go/build/deps_test.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2024-04-04 04:51:24 +0000
committerMichael Knyszek <mknyszek@google.com>2024-04-22 18:14:07 +0000
commita088e230d4e7892b15851babe161bbd1766738a1 (patch)
treeb42bda131142e51a16e6327bb505849a4e60d474 /src/go/build/deps_test.go
parent654c3368e53c923acff5fd5a1eaf4175bb6834d6 (diff)
downloadgo-a088e230d4e7892b15851babe161bbd1766738a1.tar.gz
go-a088e230d4e7892b15851babe161bbd1766738a1.zip
unique: add unique package and implement Make/Handle
This change adds the unique package for canonicalizing values, as described by the proposal in #62483. Fixes #62483. Change-Id: I1dc3d34ec12351cb4dc3838a8ea29a5368d59e99 Reviewed-on: https://go-review.googlesource.com/c/go/+/574355 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ingo Oeser <nightlyone@googlemail.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/go/build/deps_test.go')
-rw-r--r--src/go/build/deps_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go
index 5954669874..11b6722e22 100644
--- a/src/go/build/deps_test.go
+++ b/src/go/build/deps_test.go
@@ -164,6 +164,9 @@ var depsRules = `
bufio, path, strconv
< STR;
+ RUNTIME, internal/concurrent
+ < unique;
+
# OS is basic OS access, including helpers (path/filepath, os/exec, etc).
# OS includes string routines, but those must be layered above package os.
# OS does not include reflection.