-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Run hello world error on m1 mbp(macOS 12.0 (21A5506j)) #89085
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I also have m1 MBP and nightly 2021-09-18 does this for me but 2021-09-17 is fine. I suspect a lot of people are going to notice this. |
@rustbot label +I-prioritize +requires-nightly +regression-from-nightly-to-nightly |
I haven't bisected, but #82183 looks to have landed in nightly-2021-09-18, so cc @michaelwoerister (also they are more knowledgeable about this code in general). |
This error comes from the ODHT crate: https://github.com/rust-lang/odht/blob/b58e329081c91d0636a35f3af2cc2bffaf84038c/src/memory_layout.rs#L64-L69 |
Hmm, can't reproduce with rustc built locally on an M1 macbook with a default |
Opposing question, how do I build rustc locally? |
I'll look into it. |
I think this is a cross-compilation related issue. The I hope I can fix this without having an @tifrel, you can find a description of how to build the compiler locally at https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html. |
that’s correct. GitHub does not offer M1 machines for CI. |
I have a potential fix for this issue in rust-lang/odht#16. Once that is merged the compiler needs to be updated to use the new version of odht too. |
This version of odht contains a potential fix for rust-lang#89085.
…r=wesleywiser Update odht crate to 0.3.0 This version of odht contains a potential fix for rust-lang#89085. r? `@wesleywiser`
The fix looks to have landed in time to be included in the 2021-09-20 nightly being released in a few hours. |
Note that there was an error building the 2021-09-20 nightly, so it wasn't actually released. Hopefully the 2021-09-21 nightly will build successfully and be released in ~8 hours. |
yep, 2021-09-21 nightly version is normal |
Awesome |
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: