#`./hack/dev` on main, on a Mac, produces
1 messages · Page 1 of 1 (latest)
r$ ./hack/dev
~/git/github.com/dagger/dagger/dev/mage ~/git/github.com/dagger/dagger
> dagger call -m dev --source=.:default engine container export --path=/Users/shykes/git/github.com/dagger/dagger/bin/engine.tar --forced-compression=Gzip
true
> dagger call -m dev --source=.:default cli file --platform=darwin/arm64/v8 export --path=/Users/shykes/git/github.com/dagger/dagger/bin/dagger
true
~/git/github.com/dagger/dagger
~/git/github.com/dagger/dagger$ file ./bin/dagger
./bin/dagger: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=Aac3Al7277R4OXIcqdtK/g5fupn_ZrG3Sa0Ualibe/nG8FXAZswSfgcnbXlRCy/CQKpUBcHjpUHLifN79Tk, stripped
~/git/github.com/dagger/dagger$ ./bin/dagger
zsh: exec format error: ./bin/dagger
I didn't find a fix. Had to manually go build
weiiiiiird 👀 investigating
I re-ran it several times, and made sure to remove ./bin/dagger in between , to rule out user error
wild, i cannot reproduce this
but this is also 100% wrong https://dagger.cloud/dagger/traces/3531b783577623b92fd83cb607591403#41b26862bdf7617c
the --platform at the top is darwin/arm64/v8 as expected
if you can reproduce it, i'd try and inspect the values of platformSpec at various points
yeah, honstly at a loss for this
will circle back round after release moments
No problem, I am not stuck - thanks for looking