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

compiler ICE when unable to find iOS SDK #32752

Closed
cardoe opened this issue Apr 5, 2016 · 2 comments
Closed

compiler ICE when unable to find iOS SDK #32752

cardoe opened this issue Apr 5, 2016 · 2 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@cardoe
Copy link
Contributor

cardoe commented Apr 5, 2016

The compiler has an internal compiler error when it is unable to find the iOS SDK. This should probably be caught with a little friendlier error message.

$ rustc --emit llvm-ir --target x86_64-apple-ios -o x86_64-apple-ios.ll test.rs
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/rustlang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'failed to get iphonesimulator SDK path: No such file or directory (os error 2)', ../src/librustc_back/target/apple_ios_base.rs:59
@sfackler sfackler added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Apr 5, 2016
@cardoe
Copy link
Contributor Author

cardoe commented Jul 27, 2016

This is a duplicate of #29812

@cardoe
Copy link
Contributor Author

cardoe commented Jul 27, 2016

This should likely improve with #34980.

@cardoe cardoe closed this as completed Jul 27, 2016
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

2 participants