{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/22051","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/22051/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/22051/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/22051/events","html_url":"https://github.com/rust-lang/rust/pull/22051","id":56911677,"number":22051,"title":"Do not fail if --emit≠link and there’s no main fn","user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-07T13:43:41Z","updated_at":"2015-02-08T06:26:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/22051","html_url":"https://github.com/rust-lang/rust/pull/22051","diff_url":"https://github.com/rust-lang/rust/pull/22051.diff","patch_url":"https://github.com/rust-lang/rust/pull/22051.patch"},"body":"Fixes #21813"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/73399058","html_url":"https://github.com/rust-lang/rust/pull/22051#issuecomment-73399058","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/22051","id":73399058,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T06:26:53Z","updated_at":"2015-02-08T06:26:53Z","body":"Could you also add a test for this? I suppose it could lead to weird errors if you're generating an object file (or generating IR and then using that to make an object later), but it seems like this may be worth it."}}