{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/34845","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/34845/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/34845/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/34845/events","html_url":"https://github.com/rust-lang/rust/pull/34845","id":165909266,"number":34845,"title":"Add help for target CPUs, features, relocation and code models.","user":{"login":"bitshifter","id":135700,"avatar_url":"https://avatars.githubusercontent.com/u/135700?v=3","gravatar_id":"","url":"https://api.github.com/users/bitshifter","html_url":"https://github.com/bitshifter","followers_url":"https://api.github.com/users/bitshifter/followers","following_url":"https://api.github.com/users/bitshifter/following{/other_user}","gists_url":"https://api.github.com/users/bitshifter/gists{/gist_id}","starred_url":"https://api.github.com/users/bitshifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitshifter/subscriptions","organizations_url":"https://api.github.com/users/bitshifter/orgs","repos_url":"https://api.github.com/users/bitshifter/repos","events_url":"https://api.github.com/users/bitshifter/events{/privacy}","received_events_url":"https://api.github.com/users/bitshifter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Aatch","id":342416,"avatar_url":"https://avatars.githubusercontent.com/u/342416?v=3","gravatar_id":"","url":"https://api.github.com/users/Aatch","html_url":"https://github.com/Aatch","followers_url":"https://api.github.com/users/Aatch/followers","following_url":"https://api.github.com/users/Aatch/following{/other_user}","gists_url":"https://api.github.com/users/Aatch/gists{/gist_id}","starred_url":"https://api.github.com/users/Aatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aatch/subscriptions","organizations_url":"https://api.github.com/users/Aatch/orgs","repos_url":"https://api.github.com/users/Aatch/repos","events_url":"https://api.github.com/users/Aatch/events{/privacy}","received_events_url":"https://api.github.com/users/Aatch/received_events","type":"User","site_admin":false},"assignees":[{"login":"Aatch","id":342416,"avatar_url":"https://avatars.githubusercontent.com/u/342416?v=3","gravatar_id":"","url":"https://api.github.com/users/Aatch","html_url":"https://github.com/Aatch","followers_url":"https://api.github.com/users/Aatch/followers","following_url":"https://api.github.com/users/Aatch/following{/other_user}","gists_url":"https://api.github.com/users/Aatch/gists{/gist_id}","starred_url":"https://api.github.com/users/Aatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aatch/subscriptions","organizations_url":"https://api.github.com/users/Aatch/orgs","repos_url":"https://api.github.com/users/Aatch/repos","events_url":"https://api.github.com/users/Aatch/events{/privacy}","received_events_url":"https://api.github.com/users/Aatch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-07-16T05:24:36Z","updated_at":"2016-07-25T16:16:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/34845","html_url":"https://github.com/rust-lang/rust/pull/34845","diff_url":"https://github.com/rust-lang/rust/pull/34845.diff","patch_url":"https://github.com/rust-lang/rust/pull/34845.patch"},"body":"Fix for https://github.com/rust-lang/rust/issues/30961. Requires PR https://github.com/rust-lang/llvm/pull/45 to be accepted first, and the .gitmodules for llvm to be updated before this can be merged.\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/235002620","html_url":"https://github.com/rust-lang/rust/pull/34845#issuecomment-235002620","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/34845","id":235002620,"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":"2016-07-25T16:16:44Z","updated_at":"2016-07-25T16:16:44Z","body":"@bitshifter yeah you'll want to tweak [this build script](https://github.com/rust-lang/rust/blob/master/src/librustc_llvm/build.rs). The `LLVM_CONFIG` variable is [set here](https://github.com/rust-lang/rust/blob/master/src/bootstrap/compile.rs#L202) and you can use [similar logic as here](https://github.com/rust-lang/rust/blob/master/src/bootstrap/lib.rs#L731-L739) to set some other environment variable to indicate whether it's a custom or rust llvm"}}
{"actor":{"display_login":"alexcrichton"}}