{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1237","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1237/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1237/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1237/events","html_url":"https://github.com/rust-lang/cargo/issues/1237","id":55808505,"number":1237,"title":"Failure for some target values: panic unwrapping None","user":{"login":"drewcrawford","id":183400,"avatar_url":"https://avatars.githubusercontent.com/u/183400?v=3","gravatar_id":"","url":"https://api.github.com/users/drewcrawford","html_url":"https://github.com/drewcrawford","followers_url":"https://api.github.com/users/drewcrawford/followers","following_url":"https://api.github.com/users/drewcrawford/following{/other_user}","gists_url":"https://api.github.com/users/drewcrawford/gists{/gist_id}","starred_url":"https://api.github.com/users/drewcrawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewcrawford/subscriptions","organizations_url":"https://api.github.com/users/drewcrawford/orgs","repos_url":"https://api.github.com/users/drewcrawford/repos","events_url":"https://api.github.com/users/drewcrawford/events{/privacy}","received_events_url":"https://api.github.com/users/drewcrawford/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T20:10:01Z","updated_at":"2015-01-29T06:46:50Z","closed_at":"2015-01-29T06:46:50Z","body":"This seems suspiciously close to #442, although that one's closed and 6 months old.\r\n\r\ncargo nightly panics when given a target other than the host:\r\n\r\n```bash\r\n$ cargo build --target=armv7-apple-ios --verbose\r\nthread '<main>' panicked at 'called `Option::unwrap()` on a `None` value', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/option.rs:361\r\n```\r\n\r\nworks fine for host:\r\n\r\n```bash\r\n$ cargo build --target=x86_64-apple-darwin --verbose\r\n       Fresh lazy_static v0.1.7\r\n       Fresh myproject v0.0.1 (file:///Users/drew/Code/myproject)\r\n```\r\n\r\nVersion\r\n\r\n```bash\r\n$ cargo --version\r\ncargo 0.0.1-pre-nightly (e20caae 2015-01-26 02:53:23 +0000)\r\n$ rustc --version\r\nrustc 1.0.0-dev (d15192317 2015-01-25 16:09:48 +0000)\r\n```\r\n"}}