Closed DanielleMaywood closed 3 months ago
When running beamup install gleam latest on macOS I get the following error:
beamup install gleam latest
Error: no gleam asset found to support arch:aarch64 os:macos Location: src/github.rs:32:33
It appears this is because of the following code: https://github.com/tsloughter/beamup/blob/109d9f3fa96fe9bf0675af1dbf37c92ecfc7c2dd/src/github.rs#L25-L35
apple is not a valid value for std::env::consts::OS, instead it looks to be macos. https://doc.rust-lang.org/std/env/consts/constant.OS.html
apple
std::env::consts::OS
macos
It also appears aarch is not a valid value for std::env::consts::ARCH, but instead aarch64 https://doc.rust-lang.org/std/env/consts/constant.ARCH.html
aarch
std::env::consts::ARCH
aarch64
When running
beamup install gleam latest
on macOS I get the following error:It appears this is because of the following code: https://github.com/tsloughter/beamup/blob/109d9f3fa96fe9bf0675af1dbf37c92ecfc7c2dd/src/github.rs#L25-L35
apple
is not a valid value forstd::env::consts::OS
, instead it looks to bemacos
. https://doc.rust-lang.org/std/env/consts/constant.OS.html