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

rustc --target aarch64-apple-ios --print cfg shouldn't ICE #36157

Closed
japaric opened this issue Aug 31, 2016 · 3 comments
Closed

rustc --target aarch64-apple-ios --print cfg shouldn't ICE #36157

japaric opened this issue Aug 31, 2016 · 3 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@japaric
Copy link
Member

japaric commented Aug 31, 2016

$ rustup run stable rustc --target aarch64-apple-ios --print cfg
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'failed to get iphoneos SDK path: No such file or directory (os error 2)', ../src/librustc_back/target/apple_ios_base.rs:59

I should be able to query information about the target even if I don't have the SDK installed.

Meta

$ rustup run stable rustc -V
rustc 1.11.0 (9b21dcd6a 2016-08-15)

I don't know if this has been fixed on nightly because of #36156

cc @alexcrichton

@Aatch Aatch added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Aug 31, 2016
@alexcrichton
Copy link
Member

I believe this has essentially always been the case, but I'd love to have a fix! I think the best choice here is to delay the pieces of the iOS target that are fallible until we actually need them, for example at link time.

@TimNN
Copy link
Contributor

TimNN commented Sep 11, 2016

I think this is basically a duplicate of #29812.

@japaric
Copy link
Member Author

japaric commented Sep 14, 2016

I think this is basically a duplicate of #29812.

Yup, I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

4 participants