Skip to content

armv7 (32-bit) support #28

@marcprux

Description

@marcprux

There are currently some errors when building for 32-bit armv7, as mentioned at #27. I don't know if the exclusion of this architecture was intentional or not, but there might be some simple fixes that could get it building, such as explicitly declaring UInt32 for some types:

/Users/runner/work/Android/Android/.build/checkouts/Socket/Sources/Socket/System/Syscalls.swift:169:45: error: cannot convert value of type 'UInt32' to expected argument type 'socklen_t' (aka 'Int32')
167 |   //if mockingEnabled { return _mock(family, pointer, string, length) }
168 |   #endif
169 |   return inet_ntop(family, pointer, string, length)
    |                                             `- error: cannot convert value of type 'UInt32' to expected argument type 'socklen_t' (aka 'Int32')
170 | }

See https://github.com/swift-android-sdk/Android/actions/runs/22495334506/job/65168216274 for a build log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions