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 regression trying to use _ACTION in the global scope #2418

Closed
wants to merge 1 commit into from

Conversation

redorav
Copy link
Collaborator

@redorav redorav commented Jan 14, 2025

What does this PR do?

Fixes a reported issue when calling require(vstudio) at the top of a file. Mentioned here #2366 (comment)

This is simpler than trying to add the proper fix as versions < 2015 don't support Android anyway

How does this PR change Premake's behavior?

Not really, vs2015 doesn't support Android natively

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

This is simpler than trying to add the proper fix as versions < 2015 don't support Android anyway
@p0358
Copy link

p0358 commented Jan 14, 2025

Seems it's failing some tests modified in the original PR now. I would suggest using the opportunity to also extend the unit tests by covering the override scenario from docs to avoid something similar in the future: https://premake.github.io/docs/Overrides-and-Call-Arrays/#introducing-overrides

@redorav redorav closed this Jan 14, 2025
@redorav redorav deleted the fix-arch-regression branch January 14, 2025 18:58
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.

2 participants