diff --git a/app/android.c b/app/android.c index 0ceb9f6..305d586 100644 --- a/app/android.c +++ b/app/android.c @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build android // +build android #include diff --git a/app/darwin_desktop.m b/app/darwin_desktop.m index 615c29b..cdd6b5f 100644 --- a/app/darwin_desktop.m +++ b/app/darwin_desktop.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && !ios // +build darwin // +build !ios diff --git a/app/darwin_ios.m b/app/darwin_ios.m index 08bb72f..26a7d59 100644 --- a/app/darwin_ios.m +++ b/app/darwin_ios.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && ios // +build darwin // +build ios diff --git a/app/x11.c b/app/x11.c index 98fc46b..755bb24 100644 --- a/app/x11.c +++ b/app/x11.c @@ -2,6 +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 && !android // +build linux,!android #include "_cgo_export.h" diff --git a/bind/objc/SeqBench.m b/bind/objc/SeqBench.m index 5b91e84..cff9168 100644 --- a/bind/objc/SeqBench.m +++ b/bind/objc/SeqBench.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore #import diff --git a/bind/objc/SeqCustom.m b/bind/objc/SeqCustom.m index c365737..ed94b3e 100644 --- a/bind/objc/SeqCustom.m +++ b/bind/objc/SeqCustom.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore #import diff --git a/bind/objc/SeqTest.m b/bind/objc/SeqTest.m index f707e77..257d8b1 100644 --- a/bind/objc/SeqTest.m +++ b/bind/objc/SeqTest.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore #import diff --git a/bind/objc/SeqWrappers.m b/bind/objc/SeqWrappers.m index b59af9f..71686d6 100644 --- a/bind/objc/SeqWrappers.m +++ b/bind/objc/SeqWrappers.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore @import ObjectiveC.message; diff --git a/exp/sensor/android.c b/exp/sensor/android.c index 119c5eb..1ac7223 100644 --- a/exp/sensor/android.c +++ b/exp/sensor/android.c @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build android // +build android #include diff --git a/exp/sensor/darwin_armx.m b/exp/sensor/darwin_armx.m index d67f812..20cccd9 100644 --- a/exp/sensor/darwin_armx.m +++ b/exp/sensor/darwin_armx.m @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin && (arm || arm64) // +build darwin // +build arm arm64 diff --git a/gl/work.c b/gl/work.c index 587856c..605e0ba 100644 --- a/gl/work.c +++ b/gl/work.c @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build darwin || linux || openbsd // +build darwin linux openbsd #include