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 incorrect documentation for Engine.get_architecture_name() #79174

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented Jul 7, 2023

The documentation is incorrect as of Godot 4.0, the value returned on 32-bit Arm builds is arm32.

Also updated the example code to be clearer. Technically checking for the absence of "64" in the name doesn't guarantee 32-bit since rv128 exists, but Godot doesn't compile for that yet, so it's correct for now.

@aaronfranke aaronfranke requested a review from a team as a code owner July 7, 2023 19:55
@Calinou Calinou added bug cherrypick:4.0 cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Jul 7, 2023
@akien-mga akien-mga added this to the 4.2 milestone Jul 8, 2023
@akien-mga akien-mga merged commit 8eeb7c9 into godotengine:master Jul 8, 2023
13 checks passed
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the eng-get-arch-doc branch July 8, 2023 16:53
@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Jul 10, 2023
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants