Skip to content

Commit bb53406

Browse files
committed
os test: Tidy up build tags
1 parent 4ea2d1b commit bb53406

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/os/dir_other.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build go1.16,baremetal go1.16,wasi go1.16,arm go1.16,386
1+
// +build go1.16,baremetal go1.16,arm,!wasi go1.16,386,!wasi
22

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

src/os/dir_good.go renamed to src/os/dir_seek_good.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
// Use of this source code is governed by a BSD-style
55
// license that can be found in the LICENSE file.
66

7-
// All the common bits that involve DirEntry, which pulls in seek, which causes build failure on i386 and arm.
7+
// This file is a kludge. It contains the common bits that involve DirEntry,
8+
// which pulls in seek, which causes build failure on i386 and arm.
9+
// TODO: move these bits back where they belong once Go Assembly is implemented and seek works everywhere.
810

911
package os
1012

src/os/dir_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build darwin linux,!baremetal,!wasi
1+
// +build go1.16,darwin go1.16,linux,!baremetal,!wasi
22

33
package os_test
44

0 commit comments

Comments
 (0)