nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 23 lines 737 B view raw
1diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go 2index c51dcea..8fbec5e 100644 3--- a/src/cmd/dist/test.go 4+++ b/src/cmd/dist/test.go 5@@ -461,17 +461,5 @@ func (t *tester) registerTests() { 6 }) 7 } 8 9- // Test internal linking of PIE binaries where it is supported. 10- if t.goos == "linux" && t.goarch == "amd64" { 11- t.tests = append(t.tests, distTest{ 12- name: "pie_internal", 13- heading: "internal linking of -buildmode=pie", 14- fn: func(dt *distTest) error { 15- t.addCmd(dt, "src", "go", "test", "reflect", "-short", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60), t.tags(), t.runFlag("")) 16- return nil 17- }, 18- }) 19- } 20- 21 // sync tests 22 t.tests = append(t.tests, distTest{ 23 name: "sync_cpu",