Skip to content

Commit

Permalink
chore: handle x86_64 and x86 arch name
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbormann committed Nov 30, 2024
1 parent 9aa0207 commit e9f8f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async fn main() {
let os = std::env::consts::OS;
let arch = std::env::consts::ARCH;

if !(os == "linux" && arch == "x86") && !(os == "macos" && arch == "aarch64") {
if !(os == "linux" && arch.contains("x86")) && !(os == "macos" && arch == "aarch64") {
eprintln!(
"Unfortunately, your operating system ({}, {}) is not currently supported. Please feel free to submit a feature request at: https://github.com/cardano-foundation/cardano-devkit/issues/new/choose",
os, arch
Expand Down

0 comments on commit e9f8f18

Please sign in to comment.