Skip to content

Commit cad6677

Browse files
Increase page sizes on Android platforms to 16KB
Add compiler flags to the Android platform targets that increase the page size to 16KB. This will be required by the Google Play Store starting in October. This change only affects the android platform artifacts. Fixes #819
1 parent 55e0453 commit cad6677

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bdk-ffi/.cargo/config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[target.'cfg(target_os = "android")']
2+
rustflags = [
3+
"-C", "link-arg=-z",
4+
"-C", "link-arg=max-page-size=16384",
5+
"-C", "link-arg=-z",
6+
"-C", "link-arg=common-page-size=16384",
7+
]
8+

0 commit comments

Comments
 (0)