Skip to content
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

clang-format-darwin: Bad CPU type in executable on Mac with Apple Silicon #83

Open
storba opened this issue Dec 6, 2024 · 1 comment

Comments

@storba
Copy link

storba commented Dec 6, 2024

Steps to reproduce:

~/.cache/uv/archive-v0/DZAU-mByX00hK9AUN1lX_/lib/python3.9/site-packages/c_formatter_42/data/clang-format-darwin: 
Bad CPU type in executable

File info and system arch:

% file ~/.cache/uv/archive-v0/DZAU-mByX00hK9AUN1lX_/lib/python3.9/site-packages/c_formatter_42/data/clang-format-darwin
~/.cache/uv/archive-v0/DZAU-mByX00hK9AUN1lX_/lib/python3.9/site-packages/c_formatter_42/data/clang-format-darwin: Mach-O 64-bit executable x86_64
% arch 
arm64

Is it possible to build and publish C formatter 42 with a binary for ARM64 macs?

@cacharle
Copy link
Collaborator

cacharle commented Dec 7, 2024

I updated the package on pypi (version 0.2.8)
You can upgrade and close this if it's resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants