fix: allow nintendoswitch target to compile

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2024-12-02 13:48:52 +01:00
committed by Ron Evans
parent 4aac3cd7b1
commit 3eee686932
21 changed files with 41 additions and 20 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build baremetal || js || windows || wasm_unknown
//go:build baremetal || js || windows || wasm_unknown || nintendoswitch
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build linux && !baremetal && !wasip1 && !wasip2 && !wasm_unknown
//go:build linux && !baremetal && !wasip1 && !wasip2 && !wasm_unknown && !nintendoswitch
package os
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !baremetal && !js && !wasip1 && !wasip2 && !wasm_unknown
//go:build !baremetal && !js && !wasip1 && !wasip2 && !wasm_unknown && !nintendoswitch
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build linux && !baremetal && !tinygo.wasm
//go:build linux && !baremetal && !tinygo.wasm && !nintendoswitch
package os
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build (!aix && !android && !freebsd && !linux && !netbsd && !openbsd && !plan9 && !solaris) || baremetal || tinygo.wasm
//go:build (!aix && !android && !freebsd && !linux && !netbsd && !openbsd && !plan9 && !solaris) || baremetal || tinygo.wasm || nintendoswitch
package os
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !baremetal && !js && !wasm_unknown
//go:build !baremetal && !js && !wasm_unknown && !nintendoswitch
// Portions copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build baremetal || (tinygo.wasm && !wasip1 && !wasip2)
//go:build baremetal || (tinygo.wasm && !wasip1 && !wasip2) || nintendoswitch
package os
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build darwin || (linux && !baremetal && !wasm_unknown) || wasip1 || wasip2
//go:build darwin || (linux && !baremetal && !wasm_unknown && !nintendoswitch) || wasip1 || wasip2
// target wasi sets GOOS=linux and thus the +linux build tag,
// even though it doesn't show up in "tinygo info target -wasi"
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build linux && !baremetal && !tinygo.wasm
//go:build linux && !baremetal && !tinygo.wasm && !nintendoswitch
package os
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !baremetal && !js && !wasip1 && !wasip2 && !wasm_unknown
//go:build !baremetal && !js && !wasip1 && !wasip2 && !wasm_unknown && !nintendoswitch
package os
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build baremetal || js || wasip1 || wasip2 || wasm_unknown
//go:build baremetal || js || wasip1 || wasip2 || wasm_unknown || nintendoswitch
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build (linux && !baremetal && !wasm_unknown) || wasip1 || wasip2
//go:build (linux && !baremetal && !wasm_unknown && !nintendoswitch) || wasip1 || wasip2
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build baremetal || (tinygo.wasm && !wasip1 && !wasip2)
//go:build baremetal || (tinygo.wasm && !wasip1 && !wasip2) || nintendoswitch
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build darwin || (linux && !baremetal && !wasm_unknown) || wasip1 || wasip2
//go:build darwin || (linux && !baremetal && !wasm_unknown && !nintendoswitch) || wasip1 || wasip2
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !baremetal && !js && !wasm_unknown
//go:build !baremetal && !js && !wasm_unknown && !nintendoswitch
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build darwin || (linux && !baremetal && !wasm_unknown) || wasip1 || wasip2
//go:build darwin || (linux && !baremetal && !wasm_unknown && !nintendoswitch) || wasip1 || wasip2
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style