c_formatter_42
c_formatter_42 copied to clipboard
clang-format-darwin: Bad CPU type in executable on Mac with Apple Silicon
Steps to reproduce:
- Install https://docs.astral.sh/uv/getting-started/installation/
- Run
uvx c_formatter_42 *.cand get:
~/.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?
I updated the package on pypi (version 0.2.8) You can upgrade and close this if it's resolved
Is this resolved?
Thanks a lot @cacharle It works 🎉