mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
build: drop deprecated build tags
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal || js || wasi || windows
|
||||
// +build baremetal js wasi windows
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build darwin || (linux && !baremetal && !js && !wasi && !386 && !arm)
|
||||
// +build darwin linux,!baremetal,!js,!wasi,!386,!arm
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build linux && !baremetal && !wasi
|
||||
// +build linux,!baremetal,!wasi
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal && !js && !wasi
|
||||
// +build !baremetal,!js,!wasi
|
||||
|
||||
// Copyright 2020 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build darwin || linux
|
||||
// +build darwin linux
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build aix || darwin || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris || windows
|
||||
// +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris windows
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !linux || baremetal
|
||||
// +build !linux baremetal
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build linux && !baremetal
|
||||
// +build linux,!baremetal
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal && !js
|
||||
// +build !baremetal,!js
|
||||
|
||||
// Portions copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal && !js
|
||||
// +build !baremetal,!js
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal || (wasm && !wasi)
|
||||
// +build baremetal wasm,!wasi
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build darwin || (linux && !baremetal)
|
||||
// +build darwin linux,!baremetal
|
||||
|
||||
// target wasi sets GOOS=linux and thus the +linux build tag,
|
||||
// even though it doesn't show up in "tinygo info target -wasi"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
// Portions copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build windows || darwin || (linux && !baremetal)
|
||||
// +build windows darwin linux,!baremetal
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !wasi
|
||||
// +build !wasi
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build wasi
|
||||
// +build wasi
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build windows || darwin || (linux && !baremetal)
|
||||
// +build windows darwin linux,!baremetal
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal && !js && !wasi
|
||||
// +build !baremetal,!js,!wasi
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !windows && !baremetal && !js && !wasi
|
||||
// +build !windows,!baremetal,!js,!wasi
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
// Copyright 2011 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build windows || darwin || (linux && !baremetal && !wasi)
|
||||
// +build windows darwin linux,!baremetal,!wasi
|
||||
|
||||
// Copyright 2021 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal && !js && !wasi
|
||||
// +build !baremetal,!js,!wasi
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !baremetal && !js && !wasi
|
||||
// +build !baremetal,!js,!wasi
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal || js || wasi
|
||||
// +build baremetal js wasi
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build darwin || (linux && !baremetal && !js && !wasi)
|
||||
// +build darwin linux,!baremetal,!js,!wasi
|
||||
|
||||
// TODO: implement ReadDir on windows
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build (linux && !baremetal && 386) || (linux && !baremetal && arm && !wasi)
|
||||
// +build linux,!baremetal,386 linux,!baremetal,arm,!wasi
|
||||
|
||||
package os
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build linux && !baremetal
|
||||
// +build linux,!baremetal
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build baremetal || (wasm && !wasi)
|
||||
// +build baremetal wasm,!wasi
|
||||
|
||||
// Copyright 2016 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build darwin || (linux && !baremetal)
|
||||
// +build darwin linux,!baremetal
|
||||
|
||||
// Copyright 2016 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !baremetal && !js && !wasi
|
||||
// +build !baremetal,!js,!wasi
|
||||
|
||||
package os_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !baremetal && !js
|
||||
// +build !baremetal,!js
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build darwin || (linux && !baremetal)
|
||||
// +build darwin linux,!baremetal
|
||||
|
||||
// Copyright 2009 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
||||
Reference in New Issue
Block a user