Skip to content

Rust complie problem for android #2645

@ririv

Description

@ririv

Description

When compling with setuptools and setuptools-rust, it has a problem , cibw has complied a wheel named xxx-xxx-cp313-cp313-android_24_arm64_v8a, but it is incorrect.

use file command, the wheel is x86 so file

➜ /workspaces/android-wheels (main) $ ldd _pydantic_core.cpython-313-aarch64-linux-android.so 
        linux-vdso.so.1 (0x00007ffe85bcf000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000073b53bbb5000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000073b53b3ee000)
        /lib64/ld-linux-x86-64.so.2 (0x000073b53bbec000)
➜ /workspaces/android-wheels (main) $ file _pydantic_core.cpython-313-aarch64-linux-android.so
_pydantic_core.cpython-313-aarch64-linux-android.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=d60fdc7224529bf53fafcbdae591620537af4c4c, stripped

Build log

https://github.com/ririv/android-wheels/actions/runs/18862676939/job/53824052266

CI config

No response

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