On Sat, Jan 27, 2018 at 1:44 AM, Serhat Şevki Dinçer <jfcga...@gmail.com> wrote: > > On Manjaro 64-bit with go 1.9.3 I am doing: > go install -gcflags '-B -s' -ldflags '-s -w' -buildmode shared std > > I get two warnings many times: > go/src/unicode/casetables.go:17:11: redundant type: CaseRange > go/src/vendor/golang_org/x/net/http2/hpack/tables.go:131:13: redundant type: > HeaderField > What does that mean?
It means you used the -s option in -gcflags. Why are you doing that? The -s option tells the compiler to warn about composite literals that can be simplified. > Also I want to run go tests against that shared stdlib I just built (25 mb). > Neither of these seem to be what I need: > go test std > go test -linkshared std > How do I run go tests against libstd.so? I'm not sure but I don't think there is a way to run the standard library tests with a shared standard library. The shared standard library will only be used for packages that are not already in the standard library. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.