See https://github.com/PyO3/maturin/issues/2701 and e.g. https://github.com/pyca/cryptography/pull/12555#issuecomment-3140805909. I have no idea if this is an issue in maturin or the manylinux images. I can't reproduce the problem running the image locally on my ARM Mac but it happens reproducibly in the cryptography CI. I'm reaching out in case you might have any ideas or suggestions to debug this.