makepad/tools/cargo_makepad
Kevin Boos d0fe5f2b74
cargo_makepad: link std statically for shippable android builds (#1177)
Android builds passed `-C prefer-dynamic` unconditionally, so Rust shipped
`std` as a separate `libstd-<hash>.so`. That library is a rustup prebuilt whose
LOAD segments are only 4 KB-page aligned (`p_align 0x1000`), so it can't be
mapped on the 16 KB-page devices Android 15 allows. Google Play requires apps
targeting API 35+ to run there, so release apks were failing that bar even
though `libmakepad.so` itself was already linked with 16 KB alignment.

Only debug builds keep `prefer-dynamic` now, where the faster incremental
relink is worth having and nothing ships. Everything else links `std`
statically, which drops the separate library entirely and leaves a single
NDK-linked, 16 KB-aligned `.so`. The aab path already did this.
2026-08-13 10:04:11 +02:00
..
quest Initial commit 2025-05-06 10:11:37 +02:00
src cargo_makepad: link std statically for shippable android builds (#1177) 2026-08-13 10:04:11 +02:00
Cargo.toml working 2026-03-11 10:19:58 +01:00
debug.keystore Initial commit 2025-05-06 10:11:37 +02:00