Now RegisterFunc and RegisterLibFunc don't work on non-supported architectures (e.g. Linux 386). If they could be available even with Cgo, it would be nice since we could share the same code using PureGo for any architectures.
There is an actual use case: I tried to fix github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/opengl/gl to use PureGo for Linux, but failed due to this error:
Now
RegisterFunc
andRegisterLibFunc
don't work on non-supported architectures (e.g. Linux 386). If they could be available even with Cgo, it would be nice since we could share the same code using PureGo for any architectures.There is an actual use case: I tried to fix
github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/opengl/gl
to use PureGo for Linux, but failed due to this error: