From 31e633464481a0748fb95eda2a2d3d604755d286 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 27 Feb 2017 11:14:45 -0800 Subject: [PATCH] go/build: move math/bits into L1 set of dependencies Per suggestion from rsc. Change-Id: I4b61ec6f35ffaaa792b75e011fbba1bdfbabc1f6 Reviewed-on: https://go-review.googlesource.com/37501 Run-TryBot: Robert Griesemer Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/go/build/deps_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go index 30987437806..5b36282b386 100644 --- a/src/go/build/deps_test.go +++ b/src/go/build/deps_test.go @@ -57,6 +57,7 @@ var pkgDeps = map[string][]string{ // L1 adds simple functions and strings processing, // but not Unicode tables. "math": {"unsafe"}, + "math/bits": {}, "math/cmplx": {"math"}, "math/rand": {"L0", "math"}, "strconv": {"L0", "unicode/utf8", "math"}, @@ -66,6 +67,7 @@ var pkgDeps = map[string][]string{ "L1": { "L0", "math", + "math/bits", "math/cmplx", "math/rand", "sort", @@ -258,7 +260,7 @@ var pkgDeps = map[string][]string{ "index/suffixarray": {"L4", "regexp"}, "internal/singleflight": {"sync"}, "internal/trace": {"L4", "OS"}, - "math/big": {"L4", "math/bits"}, + "math/big": {"L4"}, "mime": {"L4", "OS", "syscall", "internal/syscall/windows/registry"}, "mime/quotedprintable": {"L4"}, "net/internal/socktest": {"L4", "OS", "syscall"},