{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/42808","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/42808/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/42808/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/42808/events","html_url":"https://github.com/rust-lang/rust/issues/42808","id":237618746,"number":42808,"title":"Binary size blowup presumably because of allocator integration","user":{"login":"alexbool","id":1283792,"avatar_url":"https://avatars0.githubusercontent.com/u/1283792?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbool","html_url":"https://github.com/alexbool","followers_url":"https://api.github.com/users/alexbool/followers","following_url":"https://api.github.com/users/alexbool/following{/other_user}","gists_url":"https://api.github.com/users/alexbool/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbool/subscriptions","organizations_url":"https://api.github.com/users/alexbool/orgs","repos_url":"https://api.github.com/users/alexbool/repos","events_url":"https://api.github.com/users/alexbool/events{/privacy}","received_events_url":"https://api.github.com/users/alexbool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-21T18:07:01Z","updated_at":"2017-06-21T18:07:01Z","closed_at":null,"body":"Between `rustc 1.19.0-nightly (10d7cb44c 2017-06-18)` and `1.20.0-nightly (445077963 2017-06-20)` I experienced one of my binaries to grow up from 3.4M to 3.7M, which is approx 8.8%. At first I was scared that this was a fallout of my own PR (#42716), but that particular binary didn't use C strings almost at all.\r\nI examined a diff in symbols made with `nm` and saw that the binary compiled with `1.20.0-nightly (445077963 2017-06-20)` has a lot more symbols like that:\r\n- `_<alloc::raw_vec::RawVec<T, A>>::dealloc_buffer` (14 occurences)\r\n- `_alloc::allocator::Alloc::alloc_array` (57 occurences)\r\n- `_alloc::allocator::Alloc::realloc_array` (28 occurences)\r\n- `_core::ptr::drop_in_place` (mighty 138 new occurences)\r\n\r\nThis leads us to the possibility that #42313 is the culprit."}}
{"actor":{"display_login":"alexbool"}}