Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/ebitnmobile: ebitenmobile fails on go1.23 if you have GOEXPERIMENT=loopvar set #3128

Closed
1 of 11 tasks
corfe83 opened this issue Oct 13, 2024 · 1 comment
Closed
1 of 11 tasks

Comments

@corfe83
Copy link
Contributor

corfe83 commented Oct 13, 2024

Ebitengine Version

2.8.1

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

Go Version (go version)

1.23.2

What steps will reproduce the problem?

Run ebitenmobile bind with conventional commandline arguments such as:

ebitenmobile bind -target android -javapkg your.package.name -o path/to/yourgame.aar .

What is the expected result?

Bind is successful

What happens instead?

Bind gives error:

2024/10/12 22:55:53 go [mod tidy] failed: go: errors parsing go.mod:
go.mod:5: toolchain directive expects exactly one argument

Anything else you feel useful to add?

No response

@corfe83 corfe83 added the bug label Oct 13, 2024
@hajimehoshi hajimehoshi changed the title Ebitenmobile fails on go1.23 if you have GOEXPERIMENT=loopvar set cmd/ebitnmobile: ebitenmobile fails on go1.23 if you have GOEXPERIMENT=loopvar set Oct 13, 2024
@hajimehoshi
Copy link
Owner

IIUC, specifying GOEXPERIMENT=loopvar with Go 1.23 doesn't make sense as Go 1.23 already applies the loopvar change, but anyway this is a bug.

@hajimehoshi hajimehoshi added this to the v2.9.0 milestone Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants