Skip to content

ICE with *-*-ios targets without ios developer stuff installed #29812

Closed

Description

$ echo 'fn main() {}' | rustc - -Z unstable-options --pretty=normal --target=x86_64-apple-ios
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
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

I don't expect to be able to actually compile anything with those targets, but it shouldn't ICE and most of the --pretty modes should probably work. (--pretty works with all other targets, except for --pretty=typed because that needs libstd.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions