{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/2521","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2521/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2521/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2521/events","html_url":"https://github.com/rust-lang/rfcs/pull/2521","id":349010199,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MjI0OTAw","number":2521,"title":"Unify std::os::raw::c_void and libc::c_void via libcore","user":{"login":"SimonSapin","id":291359,"node_id":"MDQ6VXNlcjI5MTM1OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/291359?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"labels":[{"id":211667901,"node_id":"MDU6TGFiZWwyMTE2Njc5MDE=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2","default":false},{"id":921950520,"node_id":"MDU6TGFiZWw5MjE5NTA1MjA=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/disposition-merge","name":"disposition-merge","color":"008800","default":false},{"id":216585564,"node_id":"MDU6TGFiZWwyMTY1ODU1NjQ=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/final-comment-period","name":"final-comment-period","color":"1e76d9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2018-08-09T07:31:45Z","updated_at":"2018-08-29T18:01:37Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/2521","html_url":"https://github.com/rust-lang/rfcs/pull/2521","diff_url":"https://github.com/rust-lang/rfcs/pull/2521.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/2521.patch"},"body":"Unify `std::os::raw::c_void` and `libc::c_void` by making them both re-exports of a definition in libcore.\r\n\r\n[HTML view](https://github.com/SimonSapin/rfcs/blob/%E7%84%A1/text/0000-c_void-reunification.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/417047886","html_url":"https://github.com/rust-lang/rfcs/pull/2521#issuecomment-417047886","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2521","id":417047886,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzA0Nzg4Ng==","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},"created_at":"2018-08-29T18:01:37Z","updated_at":"2018-08-29T18:01:37Z","author_association":"CONTRIBUTOR","body":"> But why would someone use libc in #![no_std] mode with std at the same time? Surely they'd enable the std feature of the libc crate if they want libc::c_void to be compatible with std::os::raw::c_void?\r\n\r\n@retep998 a crate `A` can depend on libc in a `no_std` crate, and some other crate `B` that requires `std` can depend on crate `A`. \r\n\r\nIf crate `A` does not re-export libc's `use_std` feature, then you end up there."}}
{"actor":{"display_login":"gnzlbg"}}