{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/11856","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/11856/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/11856/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/11856/events","html_url":"https://github.com/rust-lang/rust/issues/11856","id":26396990,"number":11856,"title":"Figure out final solution for volume-relative windows paths","user":{"login":"kballard","id":714,"avatar_url":"https://avatars.githubusercontent.com/u/714?v=3","gravatar_id":"","url":"https://api.github.com/users/kballard","html_url":"https://github.com/kballard","followers_url":"https://api.github.com/users/kballard/followers","following_url":"https://api.github.com/users/kballard/following{/other_user}","gists_url":"https://api.github.com/users/kballard/gists{/gist_id}","starred_url":"https://api.github.com/users/kballard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kballard/subscriptions","organizations_url":"https://api.github.com/users/kballard/orgs","repos_url":"https://api.github.com/users/kballard/repos","events_url":"https://api.github.com/users/kballard/events{/privacy}","received_events_url":"https://api.github.com/users/kballard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-libs","name":"A-libs","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-windows","name":"A-windows","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-01-27T21:40:48Z","updated_at":"2016-01-05T15:17:48Z","closed_at":null,"body":"As extensively documented in #11579, volume-relative paths on Windows are a relic of the past. We either need to remove support for it, or we need to figure out how `ls`, etc running in cmd.exe are emulating volume-relative cwds and teach `getcwd()` about that.\r\n\r\nIf we remove support for volume-relative paths, we should probably not make it a condition, because that's pretty crappy. We may want to just treat it as a path without a prefix."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/169032264","html_url":"https://github.com/rust-lang/rust/issues/11856#issuecomment-169032264","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/11856","id":169032264,"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},"created_at":"2016-01-05T15:17:48Z","updated_at":"2016-01-05T15:17:48Z","body":"There was a PR to turn relative paths and absolute paths into verbatim paths. https://github.com/rust-lang/rust/pull/27916\r\nThere were lots of concerns in it regarding various edge cases.\r\nI think what should happen at this point is someone should develop such a function in an outside crate first and then it can be pulled into std once people seem satisfied by how it handles various edge cases."}}