Skip to content

Conversation

finagolfin
Copy link
Contributor

Motivation:

Fix compilation error because of a type mismatch between st_mode and mode_t on 32-bit Android.

Modifications:

  • Zero-extend mode_t constants on Android armv7 to match the types.
  • Scope an earlier modification in this vein to armv7 only.

Result:

The code builds on Android armv7 again.

This line just added in #327 yesterday broke the armv7 build on my daily Android CI. Adding these conversions fixes it and I went ahead and scoped the earlier change from #45 more narrowly too.

Motivation:

Fix compilation error because of a type mismatch between st_mode and mode_t on
32-bit Android.

Modifications:

- Zero-extend mode_t constants on Android armv7 to match the types.
- Scope an earlier modification in this vein to armv7 only.

Result:

The code builds on Android armv7 again.
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Oct 13, 2021
@Lukasa
Copy link
Contributor

Lukasa commented Oct 13, 2021

Thanks! ✨

@Lukasa Lukasa merged commit d549440 into apple:main Oct 13, 2021
@finagolfin finagolfin deleted the droid-arm branch October 13, 2021 08:24
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