{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/3463","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/3463/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/3463/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/3463/events","html_url":"https://github.com/rust-lang/cargo/issues/3463","id":197677312,"number":3463,"title":"cargo test for plugins fails on Windows when using rustup","user":{"login":"retep998","id":666308,"avatar_url":"https://avatars.githubusercontent.com/u/666308?v=3","gravatar_id":"","url":"https://api.github.com/users/retep998","html_url":"https://github.com/retep998","followers_url":"https://api.github.com/users/retep998/followers","following_url":"https://api.github.com/users/retep998/following{/other_user}","gists_url":"https://api.github.com/users/retep998/gists{/gist_id}","starred_url":"https://api.github.com/users/retep998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retep998/subscriptions","organizations_url":"https://api.github.com/users/retep998/orgs","repos_url":"https://api.github.com/users/retep998/repos","events_url":"https://api.github.com/users/retep998/events{/privacy}","received_events_url":"https://api.github.com/users/retep998/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-27T09:53:14Z","updated_at":"2016-12-28T18:49:06Z","closed_at":"2016-12-28T18:49:06Z","body":"If a crate has `plugin = true` then any binaries crated by `cargo test` will depend on the DLL versions of Rust libraries instead of statically linking to them. If the directory containing the DLLs is not in `PATH` then the test binaries will fail to run. The most common way that this occurs is if the user is using rustup as recommended. So either rustup needs to make sure that directory is in `PATH` before forwarding to the actual cargo/rustc or cargo needs to make sure it adds that directory when running tests or possibly make tests statically link. The reason this is specific to Windows is because Windows does not have rpath, so the only way for the DLLs to be found is via `PATH`.\r\n\r\ncc @brson "},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/269521735","html_url":"https://github.com/rust-lang/cargo/issues/3463#issuecomment-269521735","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/3463","id":269521735,"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-12-28T18:49:06Z","updated_at":"2016-12-28T18:49:06Z","body":"Ok, closing as a dupe."}}
{"actor":{"display_login":"alexcrichton"}}