Skip to content

Commit ad8b7a7

Browse files
committed
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 <[email protected]>
1 parent cacab64 commit ad8b7a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixedbugs/issue30908.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// rundir -P -l=4 -ldflags -strictdups=2
1+
// rundir -P -ldflags -strictdups=2 -w=0
22

33
// Copyright 2019 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

0 commit comments

Comments
 (0)