{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/749","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/749/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/749/events","html_url":"https://github.com/rust-lang-nursery/rustup.rs/issues/749","id":181657668,"number":749,"title":"rustup run cargo calls rustc on PATH","user":{"login":"tspiteri","id":18604588,"avatar_url":"https://avatars.githubusercontent.com/u/18604588?v=3","gravatar_id":"","url":"https://api.github.com/users/tspiteri","html_url":"https://github.com/tspiteri","followers_url":"https://api.github.com/users/tspiteri/followers","following_url":"https://api.github.com/users/tspiteri/following{/other_user}","gists_url":"https://api.github.com/users/tspiteri/gists{/gist_id}","starred_url":"https://api.github.com/users/tspiteri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspiteri/subscriptions","organizations_url":"https://api.github.com/users/tspiteri/orgs","repos_url":"https://api.github.com/users/tspiteri/repos","events_url":"https://api.github.com/users/tspiteri/events{/privacy}","received_events_url":"https://api.github.com/users/tspiteri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-07T12:34:29Z","updated_at":"2016-10-25T10:37:00Z","closed_at":"2016-10-25T10:37:00Z","body":"My `$PATH` is `...:/usr/bin:...:/home/user/.cargo/bin`. There are rustc and cargo binaries from the distro in /usr/bin, so by default, the distro binaries are used.\r\n\r\nIf I run `rustup run nightly cargo build`, cargo from ~/.cargo/bin is used, but in turn it uses rustc from /usr/bin. It would be great if using rustup run would make sure that rustup's cargo uses rustup's rustc instead."},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/comments/255999633","html_url":"https://github.com/rust-lang-nursery/rustup.rs/issues/749#issuecomment-255999633","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/749","id":255999633,"user":{"login":"tspiteri","id":18604588,"avatar_url":"https://avatars.githubusercontent.com/u/18604588?v=3","gravatar_id":"","url":"https://api.github.com/users/tspiteri","html_url":"https://github.com/tspiteri","followers_url":"https://api.github.com/users/tspiteri/followers","following_url":"https://api.github.com/users/tspiteri/following{/other_user}","gists_url":"https://api.github.com/users/tspiteri/gists{/gist_id}","starred_url":"https://api.github.com/users/tspiteri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tspiteri/subscriptions","organizations_url":"https://api.github.com/users/tspiteri/orgs","repos_url":"https://api.github.com/users/tspiteri/repos","events_url":"https://api.github.com/users/tspiteri/events{/privacy}","received_events_url":"https://api.github.com/users/tspiteri/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T10:37:00Z","updated_at":"2016-10-25T10:37:00Z","body":"This seems to be solved with the latest rustup, as the toolchain path is now being prepended to PATH when running cargo."}}
{"actor":{"display_login":"tspiteri"}}