Skip to content

Implement Android shims in Swift instead of C #1769

@madsodgaard

Description

@madsodgaard

#1663 introduced shims for getgrnam_r and getgrgid_r. Those are written in C, because even though we added #available support in Swift 6.3 for Android, we still need to bump the NDK version from 27 to 28, to actually reap the benefits when interacting with C APIs.

So, when the official Android SDK/CI uses NDK 28+ instead, we should rewrite those shims to Swift to match the goal of the swift-foundation project, of preferring Swift implementations.

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