Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS/aarch64 (M1) to platform allowlist in install.sh. #13

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,7 @@ check_architecture() {
return 0
;;
aarch64/Darwin)
# Nothing; fall through to error below.

# TODO: remove this when v0.37.0 is released; it will have native M1
# Mac (aarch64/Darwin) binaries included in the release artifacts.
return 0
;;
s390x/Linux)
return 0
Expand All @@ -503,7 +500,7 @@ check_architecture() {
;;
esac

error "Sorry! Wasmtime currently only provides pre-built binaries for x86_64 (Linux, macOS, Windows), aarch64 (Linux), and s390x (Linux)."
error "Sorry! Wasmtime currently only provides pre-built binaries for x86_64 (Linux, macOS, Windows), aarch64 (Linux, macOS), and s390x (Linux)."
return 1
}

Expand Down