Skip to content

android.resolveTargets ignores API level #102

Description

@ypsvlq

Zig's target encodes the API level (e.g. -Dtarget=aarch64-linux-android.26), which affects compilation as emutls is used for API levels below 29.

android.resolveTargets seems to always return API level 29, regardless of what is specified in the Zig target (or to sdk.createApk), which breaks threadlocal variables for lower API levels.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions