{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/libc/issues/1144","repository_url":"https://api.github.com/repos/rust-lang/libc","labels_url":"https://api.github.com/repos/rust-lang/libc/issues/1144/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/libc/issues/1144/comments","events_url":"https://api.github.com/repos/rust-lang/libc/issues/1144/events","html_url":"https://github.com/rust-lang/libc/pull/1144","id":383795876,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMTc3ODA3","number":1144,"title":"Move fuchsia to unix/notbsd/linux/fuchsia","user":{"login":"gnzlbg","id":904614,"node_id":"MDQ6VXNlcjkwNDYxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/904614?v=4","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","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},"assignees":[{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","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}],"milestone":null,"comments":3,"created_at":"2018-11-23T11:47:31Z","updated_at":"2018-11-26T17:44:44Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/libc/pulls/1144","html_url":"https://github.com/rust-lang/libc/pull/1144","diff_url":"https://github.com/rust-lang/libc/pull/1144.diff","patch_url":"https://github.com/rust-lang/libc/pull/1144.patch"},"body":"cc @cramertj It appears that fuchsia has items both in the library top level (libc/src/fuchsia ) but that also all linux items should be included for it (since there are target_os macros for fuchsia in unix/notbsd and unix/notbsd/linux). \r\n\r\nIs this change correct?"},"comment":{"url":"https://api.github.com/repos/rust-lang/libc/issues/comments/441730994","html_url":"https://github.com/rust-lang/libc/pull/1144#issuecomment-441730994","issue_url":"https://api.github.com/repos/rust-lang/libc/issues/1144","id":441730994,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTczMDk5NA==","user":{"login":"cramertj","id":5963049,"node_id":"MDQ6VXNlcjU5NjMwNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/5963049?v=4","gravatar_id":"","url":"https://api.github.com/users/cramertj","html_url":"https://github.com/cramertj","followers_url":"https://api.github.com/users/cramertj/followers","following_url":"https://api.github.com/users/cramertj/following{/other_user}","gists_url":"https://api.github.com/users/cramertj/gists{/gist_id}","starred_url":"https://api.github.com/users/cramertj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramertj/subscriptions","organizations_url":"https://api.github.com/users/cramertj/orgs","repos_url":"https://api.github.com/users/cramertj/repos","events_url":"https://api.github.com/users/cramertj/events{/privacy}","received_events_url":"https://api.github.com/users/cramertj/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T17:44:44Z","updated_at":"2018-11-26T17:44:44Z","author_association":"MEMBER","body":"`cargo build --target=x86_64-fuchsia` gives lots of errors on duplicate imports:\r\n\r\n```\r\nerror[E0659]: `c_char` is ambiguous                                                                                                                                                                                \r\n    --> src/unix/notbsd/linux/mod.rs:2148:31                                                                                                                                                                       \r\n     |                                                                                                                                                                                                             \r\n2148 |                  mode: *const c_char) -> *mut ::FILE;                                                                                                                                                       \r\n     |                               ^^^^^^ ambiguous name                                                                                                                                                         \r\n     |                                                                                                                                                                                                             \r\nnote: `c_char` could refer to the name imported here                                                                                                                                                               \r\n    --> src/unix/notbsd/linux/mod.rs:2247:17                                                                                                                                                                       \r\n     |                                                                                                                                                                                                             \r\n2247 |         pub use self::musl::*;                                                                                                                                                                              \r\n     |                 ^^^^^^^^^^^^^                                                                                                                                                                               \r\nnote: `c_char` could also refer to the name imported here                                                                                                                                                          \r\n    --> src/unix/notbsd/linux/mod.rs:2264:17                                                                                                                                                                       \r\n     |                                                                                                                                                                                                             \r\n2264 |         pub use self::fuchsia::*;    \r\n```"}}
{"actor":{"display_login":"cramertj"}}