XAMPPRocky / tokei

Count your code, quickly.
Other
11.02k stars 533 forks source link

Add Apple Silicon target (arm64/AArch64-Apple-Darwin) #724

Open Agrailag opened 3 years ago

Agrailag commented 3 years ago

Good day.

For now there is only target for apple x86_64, and for M1 using brew it will install and would work under Rosetta. As i know, Rust already have it as tier2 supported platform, so will be nice to install native tokei.

XAMPPRocky commented 3 years ago

Thank you for your issue! I would indeed like to be able to provide tokei for ARM Apple platforms, as I do intend to get one at some point. However the primary issue here is with GitHub Actions, until they provide an ARM Mac platform to build, test, and deploy from I cannot provide prebuilt binaries for ARM Macs.

You should be able to install a native version of tokei using cargo though with cargo install tokei.

n-rodriguez commented 1 year ago

Hi there! Why not cross compiling? Like go projects do : https://github.com/kubernetes/kompose/blob/main/Makefile#L50