numtide / treefmt

one CLI to format your repo [maintainers=@zimbatm,@brianmcgee]
https://treefmt.com
MIT License
622 stars 38 forks source link

Binary for x64 Linux fails to run #205

Closed renoire closed 1 year ago

renoire commented 1 year ago

Steps I took:

  1. I downloaded the binary for unknown Linux x64 and made sure that the check sum matches.
  2. I unpacked the tar.gz and checked that the file has execution permissions.
  3. I run ./treefmt and get: bash: ./treefmt: cannot execute binary file: Exec format error

I'm on Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz / Ubuntu 22.04

zimbatm commented 1 year ago

Thanks, can you give me the output of uname -a?

renoire commented 1 year ago

Linux renoire-ThinkPad-P50 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

zimbatm commented 1 year ago

Thanks, can you give me the exact name of the file downloaded from https://github.com/numtide/treefmt/releases/tag/v0.5.0 ?

renoire commented 1 year ago

Well, I downloaded the wrong file by mistake :)

treefmt-aarch64-unknown-linux-musl.tar.gz I saw that there's 64, and arm goes separately (which is 32 as I know understand), and thought this it's amd.