{"action":"created","issue":{"url":"https://api.github.com/repos/solson/miri/issues/106","repository_url":"https://api.github.com/repos/solson/miri","labels_url":"https://api.github.com/repos/solson/miri/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/solson/miri/issues/106/comments","events_url":"https://api.github.com/repos/solson/miri/issues/106/events","html_url":"https://github.com/solson/miri/issues/106","id":203328147,"number":106,"title":"Document necessary environment variables","user":{"login":"aochagavia","id":5196584,"avatar_url":"https://avatars.githubusercontent.com/u/5196584?v=3","gravatar_id":"","url":"https://api.github.com/users/aochagavia","html_url":"https://github.com/aochagavia","followers_url":"https://api.github.com/users/aochagavia/followers","following_url":"https://api.github.com/users/aochagavia/following{/other_user}","gists_url":"https://api.github.com/users/aochagavia/gists{/gist_id}","starred_url":"https://api.github.com/users/aochagavia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aochagavia/subscriptions","organizations_url":"https://api.github.com/users/aochagavia/orgs","repos_url":"https://api.github.com/users/aochagavia/repos","events_url":"https://api.github.com/users/aochagavia/events{/privacy}","received_events_url":"https://api.github.com/users/aochagavia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-26T09:42:24Z","updated_at":"2017-01-29T07:38:15Z","closed_at":null,"body":"Tried to run a test with `cargo run tests/run-pass/vecs.rs`, but it results on several error messages stating that the following libraries cannot be found (note: I have removed the trailing hashes in the names for clarity):\r\n* rustc_driver.dll\r\n* rustc.dll\r\n* rustc_mir.dll\r\n* rustc_borrowck.dll\r\n* (and a lot more)\r\n\r\nThe same happens when running `miri` directly.\r\n\r\nWhen looking at `miri.rs` I found out that it relies on `RUSTUP_HOME` and `RUSTUP_TOOLCHAIN`. After adding those environment variables everything worked correctly. I think this should be documented on the readme."},"comment":{"url":"https://api.github.com/repos/solson/miri/issues/comments/275899142","html_url":"https://github.com/solson/miri/issues/106#issuecomment-275899142","issue_url":"https://api.github.com/repos/solson/miri/issues/106","id":275899142,"user":{"login":"canndrew","id":5555066,"avatar_url":"https://avatars.githubusercontent.com/u/5555066?v=3","gravatar_id":"","url":"https://api.github.com/users/canndrew","html_url":"https://github.com/canndrew","followers_url":"https://api.github.com/users/canndrew/followers","following_url":"https://api.github.com/users/canndrew/following{/other_user}","gists_url":"https://api.github.com/users/canndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/canndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canndrew/subscriptions","organizations_url":"https://api.github.com/users/canndrew/orgs","repos_url":"https://api.github.com/users/canndrew/repos","events_url":"https://api.github.com/users/canndrew/events{/privacy}","received_events_url":"https://api.github.com/users/canndrew/received_events","type":"User","site_admin":false},"created_at":"2017-01-29T07:38:15Z","updated_at":"2017-01-29T07:38:15Z","body":"I can't figure out the environment variables to run the tests either. I've installed rust master from git, `rustc --print sysroot` gives me `/home/shum/.local`. If I `export RUST_SYSROOT=/home/shum/.local` then `cargo test` still complains ``error[E0463]: can't find crate for `std` ``."}}
{"actor":{"display_login":"canndrew"}}