github.com/jwijenbergh/purego@v0.0.0-20240126093400-70ff3a61df13/is_ios.go (about)

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