{"action":"created","issue":{"url":"https://api.github.com/repos/google/cargo-raze/issues/32","repository_url":"https://api.github.com/repos/google/cargo-raze","labels_url":"https://api.github.com/repos/google/cargo-raze/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/google/cargo-raze/issues/32/comments","events_url":"https://api.github.com/repos/google/cargo-raze/issues/32/events","html_url":"https://github.com/google/cargo-raze/issues/32","id":306454302,"node_id":"MDU6SXNzdWUzMDY0NTQzMDI=","number":32,"title":"Set RUSTC environmental for build scripts","user":{"login":"SirVer","id":140115,"node_id":"MDQ6VXNlcjE0MDExNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/140115?v=4","gravatar_id":"","url":"https://api.github.com/users/SirVer","html_url":"https://github.com/SirVer","followers_url":"https://api.github.com/users/SirVer/followers","following_url":"https://api.github.com/users/SirVer/following{/other_user}","gists_url":"https://api.github.com/users/SirVer/gists{/gist_id}","starred_url":"https://api.github.com/users/SirVer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirVer/subscriptions","organizations_url":"https://api.github.com/users/SirVer/orgs","repos_url":"https://api.github.com/users/SirVer/repos","events_url":"https://api.github.com/users/SirVer/events{/privacy}","received_events_url":"https://api.github.com/users/SirVer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-19T13:06:05Z","updated_at":"2019-12-26T01:55:38Z","closed_at":null,"author_association":"NONE","body":"Some crates, like `cargo_version` (https://github.com/Kimundi/rustc-version-rs/blob/master/src/lib.rs#L126) use this environment variable to figure out which rustc is running. This crate is for example a dependency for rusoto.\r\n\r\nChanging the auto generated rusoto_core `genrule` to settings this variable using `export RUSTC=\\\"$$PWD/$(location @rust_linux_x86_64//:rustc)\\\";\"` and adding it in the tools section worked for me, but maybe this variable should always be set?"},"comment":{"url":"https://api.github.com/repos/google/cargo-raze/issues/comments/568947710","html_url":"https://github.com/google/cargo-raze/issues/32#issuecomment-568947710","issue_url":"https://api.github.com/repos/google/cargo-raze/issues/32","id":568947710,"node_id":"MDEyOklzc3VlQ29tbWVudDU2ODk0NzcxMA==","user":{"login":"dayfine","id":26423504,"node_id":"MDQ6VXNlcjI2NDIzNTA0","avatar_url":"https://avatars0.githubusercontent.com/u/26423504?v=4","gravatar_id":"","url":"https://api.github.com/users/dayfine","html_url":"https://github.com/dayfine","followers_url":"https://api.github.com/users/dayfine/followers","following_url":"https://api.github.com/users/dayfine/following{/other_user}","gists_url":"https://api.github.com/users/dayfine/gists{/gist_id}","starred_url":"https://api.github.com/users/dayfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dayfine/subscriptions","organizations_url":"https://api.github.com/users/dayfine/orgs","repos_url":"https://api.github.com/users/dayfine/repos","events_url":"https://api.github.com/users/dayfine/events{/privacy}","received_events_url":"https://api.github.com/users/dayfine/received_events","type":"User","site_admin":false},"created_at":"2019-12-26T01:55:38Z","updated_at":"2019-12-26T01:55:38Z","author_association":"MEMBER","body":"Just came here to note that this still does not work as I am attempting to build external protobuf package with bazel and raze.\r\n\r\nI will probably try the workaround in https://github.com/rules-proto-grpc/rules_proto_grpc/commit/cb57f58b496302472fc9f55de98c05ad6ad6eba5 as a result."}}
{"actor":{"display_login":"dayfine"}}