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

Fix gomobile toolchain bug #3129

Merged
merged 9 commits into from
Oct 14, 2024
Merged

Fix gomobile toolchain bug #3129

merged 9 commits into from
Oct 14, 2024

Conversation

corfe83
Copy link
Contributor

@corfe83 corfe83 commented Oct 13, 2024

This PR solves:

#3128

The reason this happens is that runtime.Version() returns this value when loopvar variable is set:

"go1.23.2 X:loopvar"

@hajimehoshi
Copy link
Owner

Interesting.. Thanks!

Copy link
Owner

@hajimehoshi hajimehoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Copy link
Owner

@hajimehoshi hajimehoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the comment.

@corfe83
Copy link
Contributor Author

corfe83 commented Oct 13, 2024

Thanks you're right, this didn't work with tip. I've added the regex, I think it behaves much better now. Also I added *.exe to .gitignore.

.gitignore Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
@corfe83
Copy link
Contributor Author

corfe83 commented Oct 13, 2024

Thanks, I've pushed changes to address feedback.

.gitignore Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
cmd/ebitenmobile/gomobile.go Outdated Show resolved Hide resolved
@corfe83 corfe83 requested a review from hajimehoshi October 14, 2024 17:32
Copy link
Owner

@hajimehoshi hajimehoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@hajimehoshi hajimehoshi merged commit d1ee779 into hajimehoshi:main Oct 14, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants