makepad/tools/cargo_makepad/src
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
..
android cargo_makepad: link std statically for shippable android builds (#1177) 2026-08-13 10:04:11 +02:00
apple cargo_makepad: don't include resources/android/ios on every platform (#1157) 2026-08-01 10:26:31 +02:00
check xr otw 2026-03-12 15:51:30 +01:00
open_harmony vulkan back 2026-03-15 13:20:49 +01:00
wasm Fix todo input styling and studio build env 2026-05-05 07:50:38 +02:00
desktop.rs splash md for calculator 2026-05-27 07:39:41 +02:00
main.rs splash md for calculator 2026-05-27 07:39:41 +02:00
server_manager.rs xr otw 2026-03-12 15:51:30 +01:00
shell.rs Initial commit 2025-05-06 10:11:37 +02:00
studio.rs mlx otw 2026-04-10 14:48:17 +02:00
tunnel.rs stdin 2026-04-05 11:30:53 +02:00
utils.rs Overhaul android tooling and platform layers to support Android 8 (#1091) 2026-05-22 01:40:29 +02:00