Skip to content

Commit

Permalink
fix: resolves issues with installing anvil-zksync with rosetta
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Jan 8, 2025
1 parent 04e701d commit 67df332
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions foundryup-zksync/foundryup-zksync
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ EOF
"Darwin")
os="apple-darwin"
arch=$(arch)
if [[ "$arch" == "i386" ]]; then
# Rosetta reports as i386, but we treat it as x86_64
arch="x86_64"
fi
;;
*)
err "anvil-zksync only supports Linux and MacOS! Detected OS: $uname_str"
Expand Down

0 comments on commit 67df332

Please sign in to comment.