-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get --target, etc., from sysconfig when cross compiling #138
Comments
Not sure if you're running into the exact same issue here but I'm seeing a potentially related issue when cross compiling with buildroot. |
It is indeed error-prone when invoking https://github.com/messense/manylinux2014-cross-arm/runs/2199462499 here I've asked it to build ❯ file pyo3_test.cpython-36m-x86_64-linux-gnu.so
pyo3_test.cpython-36m-x86_64-linux-gnu.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, with debug_info, not stripped |
I think that issue is common to all Python. |
I am the maintainer of crossenv, and since
cryptography
started usingsetuptools-rust
, I've started receiving issues since cross compiling that package no longer works out of the box. This can be fixed by gathering more information fromsysconfig
and passing that along to rustc.(PR incoming)
The text was updated successfully, but these errors were encountered: