From ad8b7a70c52d808d41d20b514f518984a179b3fa Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Tue, 26 Mar 2019 12:05:25 -0400 Subject: [PATCH] test: fix fixedbugs/issue30908.go to work with no-opt builder Update the issue 30908 test to work with the no-opt builder (this requires a corresponding change in the linker as well). As part of this change, 'rundir' tests are now linked without passing "-w" to the linker. Updates #30908. Fixes #31034. Change-Id: Ic776e1607075c295e409e1c8230aaf55a79a6323 Reviewed-on: https://go-review.googlesource.com/c/go/+/169161 Reviewed-by: Ian Lance Taylor --- test/fixedbugs/issue30908.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixedbugs/issue30908.go b/test/fixedbugs/issue30908.go index 8863b396aa..60fbd11457 100644 --- a/test/fixedbugs/issue30908.go +++ b/test/fixedbugs/issue30908.go @@ -1,4 +1,4 @@ -// rundir -P -l=4 -ldflags -strictdups=2 +// rundir -P -ldflags -strictdups=2 -w=0 // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -- 2.50.0