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

[arch] Add arm64_32 to the 32-bit platform check #2625

Merged
merged 2 commits into from
Jan 17, 2024
Merged

[arch] Add arm64_32 to the 32-bit platform check #2625

merged 2 commits into from
Jan 17, 2024

Conversation

hyerra
Copy link
Contributor

@hyerra hyerra commented Jan 17, 2024

On watchOS, the arm64_32 bit architecture restricts software to ILP32 which means integers are 32-bit. This expands our existing 32-bit checks to include arm64_32.

Motivation:

Without adding the arm64_32 architecture to the 32-bit check, we run into Int overflow errors.

Modifications:

This adds arm64_32 to the 32-bit checks.

On watchOS, the arm64_32 bit architecture restricts software to ILP32 which means integers are 32-bit. This expands our existing 32-bit checks to include arm64_32.
@Lukasa Lukasa added the semver/patch No public API change. label Jan 17, 2024
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

This is a nice change, thanks!

@Lukasa
Copy link
Contributor

Lukasa commented Jan 17, 2024

@swift-server-bot test this please

@Lukasa Lukasa enabled auto-merge (squash) January 17, 2024 10:34
@Lukasa
Copy link
Contributor

Lukasa commented Jan 17, 2024

@swift-server-bot test this please

1 similar comment
@Lukasa
Copy link
Contributor

Lukasa commented Jan 17, 2024

@swift-server-bot test this please

@Lukasa Lukasa merged commit a0e0c68 into apple:main Jan 17, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants