Open kmazur99 opened 1 year ago
Currently ARM64 binary is not provided because I don't have ARM64 Mac, and GitHub doesn't provide ARM64 CI runners. See https://github.com/JasonWei512/code-radio-cli/issues/5.
If you are using an ARM64 Mac, you can compile this program from source by installing Rust toolchain and running cargo install code-radio-cli
.
cargo install code-radio-cli
Compiling code-radio-cli v1.0.3
error[E0015]: cannot call non-const fn std::sync::Mutex::<std::option::Option<Player>>::new in statics
--> /Users/wangzhengbo/.cargo/registry/src/github.com-1ecc6299db9ec823/code-radio-cli-1.0.3/src/main.rs:28:40 |
28 | static PLAYER: Mutex<Option |
^^^^^^^^^^^^^^^^ |
---|
= note: calls in statics are limited to constant functions, tuple structs and tuple variants
error[E0015]: cannot call non-const fn std::sync::Mutex::<std::option::Option<ProgressBar>>::new in statics
--> /Users/wangzhengbo/.cargo/registry/src/github.com-1ecc6299db9ec823/code-radio-cli-1.0.3/src/main.rs:29:51 |
29 | static PROGRESS_BAR: Mutex<Option |
^^^^^^^^^^^^^^^^ |
---|
= note: calls in statics are limited to constant functions, tuple structs and tuple variants
For more information about this error, try rustc --explain E0015
.
error: could not compile code-radio-cli
due to 2 previous errors
error: failed to compile code-radio-cli v1.0.3
, intermediate artifacts can be found at /var/folders/yj/lt1g82ks79d86d00l65pbzs00000gn/T/cargo-install8uBNFi
mac arm安装报错: rustc版本是1.61.0
@wangzhengbo Upgrade Rust to latest version.
i have tried building this in openwrt
Add support for ARM architecture to make it compatible with Apple's M series processors.