{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/14153","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/14153/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/14153/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/14153/events","html_url":"https://github.com/rust-lang/rust/issues/14153","id":33342661,"number":14153,"title":"The basic C types should be in `libcore`","user":{"login":"Jurily","id":1728602,"avatar_url":"https://avatars.githubusercontent.com/u/1728602?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurily","html_url":"https://github.com/Jurily","followers_url":"https://api.github.com/users/Jurily/followers","following_url":"https://api.github.com/users/Jurily/following{/other_user}","gists_url":"https://api.github.com/users/Jurily/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurily/subscriptions","organizations_url":"https://api.github.com/users/Jurily/orgs","repos_url":"https://api.github.com/users/Jurily/repos","events_url":"https://api.github.com/users/Jurily/events{/privacy}","received_events_url":"https://api.github.com/users/Jurily/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"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-12T20:16:50Z","updated_at":"2016-01-05T12:54:00Z","closed_at":"2016-01-05T12:54:00Z","body":"`c_int` and friends are not defined by `libc`, but the [data model](http://en.wikipedia.org/wiki/LP64#64-bit_data_models) of the operating system. C compilers provide them with [macros](http://gcc.gnu.org/onlinedocs/gcc-4.9.0/cpp/Common-Predefined-Macros.html) like `__LP64__`, `__SIZEOF_INT__`.\r\n\r\nThey're needed for [syscalls](http://docs.cs.up.ac.za/programming/asm/derick_tut/syscalls.html) (i.e. writing `libc` itself) and kernel modules."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/168991075","html_url":"https://github.com/rust-lang/rust/issues/14153#issuecomment-168991075","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/14153","id":168991075,"user":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T12:53:59Z","updated_at":"2016-01-05T12:53:59Z","body":"Core is designed for (among other things) writing OSes/freestanding code, which would make defining these in that case somewhat strange.\r\n\r\nThis change was actually proposed (and rejected) in https://github.com/rust-lang/rust/pull/29985 (see there for more discussion), so I'm closing this to match."}}