Skip to content

Commit c333e85

Browse files
Merge pull request #836 from SKaiNET-developers/feature/io-core-androidnative
io-core: add androidNativeArm64 target
2 parents 42add93 + 8f63f36 commit c333e85

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎skainet-io/skainet-io-core/build.gradle.kts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ kotlin {
3939
macosArm64 ()
4040
linuxX64 ()
4141
linuxArm64 ()
42+
// androidNativeArm64 joins the existing 64-bit native targets in the shared nativeMain
43+
// (PosixPreadRandomAccessSource uses posix pread, whose ssize_t/size_t are Long on all of
44+
// them). androidNativeArm32 is intentionally NOT added here: those posix types are Int on
45+
// 32-bit, and mixing widths in the shared nativeMain metadata is illegal — arm32 needs the
46+
// posix source moved to a 64-bit-only source set (tracked as a follow-up).
47+
androidNativeArm64()
4248

4349
js {
4450
browser()

0 commit comments

Comments
 (0)