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

Update Rust Status #139

Closed
ibraheemdev opened this issue Nov 17, 2020 · 4 comments
Closed

Update Rust Status #139

ibraheemdev opened this issue Nov 17, 2020 · 4 comments
Labels
App Update Updates on the status on a give App in the list

Comments

@ibraheemdev
Copy link
Contributor

Rust's status should be "Runs natively on Apple Silicon". The linked issue states that the Intel targets can run on Rosetta, but there is also a native arm target available with tier 2 support.

@ThatGuySam ThatGuySam added App Update Updates on the status on a give App in the list and removed New App Request labels Nov 17, 2020
@ThatGuySam
Copy link
Owner

Are these builds available via homebrew or the Rust website download page.

Basically, just available without using preview builds

@QianNangong
Copy link
Contributor

QianNangong commented Nov 17, 2020

There is a native nightly-aarch64-apple-darwin toolchain can be installed via rustup.
I'm using an Intel-based Mac now.

# rustup toolchain install nightly-aarch64-apple-darwin
info: syncing channel updates for 'nightly-aarch64-apple-darwin'
689.0 KiB / 689.0 KiB (100 %) 391.7 KiB/s in  1s ETA:  0s
info: latest update on 2020-11-17, rust version 1.50.0-nightly (f5230fbf7 2020-11-16)
info: downloading component 'cargo'
  3.5 MiB /   3.5 MiB (100 %)   1.2 MiB/s in  2s ETA:  0s
info: downloading component 'clippy'
  1.5 MiB /   1.5 MiB (100 %)   1.5 MiB/s in  2s ETA:  0s
info: downloading component 'rust-std'
 17.8 MiB /  17.8 MiB (100 %)   3.5 MiB/s in  6s ETA:  0s
info: downloading component 'rustc'
 41.8 MiB /  41.8 MiB (100 %)   4.6 MiB/s in 12s ETA:  0s
info: downloading component 'rustfmt'
  1.9 MiB /   1.9 MiB (100 %) 762.3 KiB/s in  2s ETA:  0s
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'rust-std'
 17.8 MiB /  17.8 MiB (100 %)   7.5 MiB/s in  2s ETA:  0s
info: installing component 'rustc'
 41.8 MiB /  41.8 MiB (100 %)   9.8 MiB/s in  4s ETA:  0s
info: installing component 'rustfmt'

  nightly-aarch64-apple-darwin installed - (error reading rustc version)

info: checking for self-updates

and

# pwd
/Users/alpine/.rustup/toolchains/nightly-aarch64-apple-darwin/bin
# file rustc 
rustc: Mach-O 64-bit executable arm64

However, there's no build on beta channel or stable channel.

@ibraheemdev
Copy link
Contributor Author

ibraheemdev commented Nov 17, 2020

@ThatGuySam the official way to download rust is with rustup. Rustup supports native apple silicon with the nightly channel, and the stable channel is just waiting on the next rustup release. The status should be something like: "Native support for nightly, stable releases coming soon"

Nightly installation instructions

ThatGuySam added a commit that referenced this issue Nov 17, 2020
@ThatGuySam
Copy link
Owner

Update is live!

https://doesitarm.com/app/rust/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Update Updates on the status on a give App in the list
Projects
None yet
Development

No branches or pull requests

3 participants