Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

fix: use x86_64 arch for pre-built downloads on M1 devices #1876

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

nilslice
Copy link
Contributor

This PR forces the use of a pre-built x86_64 binary on a aarch64/arm64 Apple system. For M1 devices specifically, it will fix wrangler generate, and wrangler build for type = "rust" wrangler projects.

There is another semi-related PR that will fix some additional rust/wasm issues in our template repo here: cloudflare/rustwasm-worker-template#21, which would be nice to have merged along with this.

@nilslice nilslice requested a review from a team as a code owner April 26, 2021 19:34
@nilslice
Copy link
Contributor Author

It's worth noting that this fix does not change any behavior on any of our previously supported platforms. And for posterity, it relies on the target M1 / aarch64/arm64 Apple device to have Rosetta 2 installed. This should already be the case, but if not, it can be installed by running:

/usr/sbin/softwareupdate --install-rosetta

@nilslice nilslice merged commit c632f78 into master Apr 26, 2021
@nilslice nilslice deleted the sm/aarch64-check branch April 26, 2021 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants