is_ios.go 381 B

12345678910111213
  1. // SPDX-License-Identifier: Apache-2.0
  2. // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
  3. //go:build !cgo
  4. package purego
  5. // if you are getting this error it means that you have
  6. // CGO_ENABLED=0 while trying to build for ios.
  7. // purego does not support this mode yet.
  8. // the fix is to set CGO_ENABLED=1 which will require
  9. // a C compiler.
  10. var _ = _PUREGO_REQUIRES_CGO_ON_IOS