to reproduce. run this on an arm machine (eg. M4 mac):
docker run -ti python:3.14 /bin/bash
pip install cryptography
python -c "import cryptography.hazmat.bindings._rust"
Here is the output:
# uname -a
Linux bdbdf3618a2c 6.12.5-linuxkit #1 SMP Tue Jan 21 10:23:32 UTC 2025 aarch64 GNU/Linux
# pip show cryptography
Name: cryptography
Version: 47.0.0
Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Home-page: https://github.com/pyca/cryptography
Author:
Author-email: The Python Cryptographic Authority and individual contributors <cryptography-dev@python.org>
License-Expression: Apache-2.0 OR BSD-3-Clause
Location: /usr/local/lib/python3.14/site-packages
Requires: cffi
Required-by:
# python -c "import cryptography.hazmat.bindings._rust"
Illegal instruction
Thank you!
to reproduce. run this on an arm machine (eg. M4 mac):
Here is the output:
Thank you!