Fix build tags for Go 1.17

This commit is contained in:
Hajime Hoshi 2021-08-17 12:27:19 +09:00
parent 253509356f
commit 12350e2fee
6 changed files with 7 additions and 3 deletions

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build ignore
// +build ignore
package main

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build (darwin && ios && arm) || (darwin && ios && arm64)
// +build darwin,ios,arm darwin,ios,arm64
package ebitenmobileview

View File

@ -12,9 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build darwin,ios
// +build !arm
// +build !arm64
//go:build darwin && ios && !arm && !arm64
// +build darwin,ios,!arm,!arm64
package ebitenmobileview

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build android || ios
// +build android ios
package ebitenmobileview

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build ios
// +build ios
package ebitenmobileview

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build android || ios
// +build android ios
// Package ebitenmobileview offers functions for OpenGL/Metal view of mobiles.