Skip to content

Conversation

fede987
Copy link

@fede987 fede987 commented Jun 19, 2025

This PR adds the necessary configuration to enforce 16KB alignment, which will be required starting November 2025 to publish apps on the Google Play Store with full support for Android 15.

The following updates have been made:

  1. A config.toml file has been added to the /libDF/.cargo directory to instruct the linker to align the generated .so files to 16KB. This ensures that Cargo consistently produces 16KB-aligned binaries, regardless of the build environment.

  2. A validation step has been added to build_android.yml to verify that the generated .so files are properly aligned to 16KB. If they are not, the workflow will fail.

@stefanobrusa stefanobrusa merged commit 0771a53 into main Jun 19, 2025
10 of 18 checks passed
@fede987 fede987 deleted the enforce_build_android_16_kb_alignment branch June 19, 2025 15:29
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