]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: move math/bits into L1 set of dependencies
authorRobert Griesemer <gri@golang.org>
Mon, 27 Feb 2017 19:14:45 +0000 (11:14 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 27 Feb 2017 19:42:19 +0000 (19:42 +0000)
Per suggestion from rsc.

Change-Id: I4b61ec6f35ffaaa792b75e011fbba1bdfbabc1f6
Reviewed-on: https://go-review.googlesource.com/37501
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/go/build/deps_test.go

index 309874378061374086d8eb90311ba6872b84c397..5b36282b3866bc4c245fce2b6b7383aaec8b8ec5 100644 (file)
@@ -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"},