{"push_id":630418960,"size":6,"distinct_size":0,"ref":"refs/heads/auto","head":"47def3ef27a2e027f1a93ef7870ff131ee7926fd","before":"00c24eef02ab84991f74b994a09abe3c99a238af","commits":[{"sha":"c93760da9dbe0c3117c678c977d48cd56a356f8d","author":{"email":"4214fcc78ec77c101c4b11989256e557459f0535@gmail.com","name":"bcoopers"},"message":"Vector can currently panic when pushing an element or reserving space\nfor only half of the maximum size available on the architecture. This\nallows vectors to keep expanding with those two methods until the amount\nof bytes exceeds usize.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/c93760da9dbe0c3117c678c977d48cd56a356f8d"},{"sha":"1caf260edb561f8fa20f5df021a4bfdf9d64195f","author":{"email":"4214fcc78ec77c101c4b11989256e557459f0535@gmail.com","name":"bcoopers"},"message":"change std::usize to usize","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/1caf260edb561f8fa20f5df021a4bfdf9d64195f"},{"sha":"4f06cedd0d83e0f6418ab681f6174c2b32e7aca0","author":{"email":"4214fcc78ec77c101c4b11989256e557459f0535@gmail.com","name":"bcoopers"},"message":"If doubling the vector in reserve() brings you over usize::MAX,\ntry to get capacity for usize::MAX","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/4f06cedd0d83e0f6418ab681f6174c2b32e7aca0"},{"sha":"f8493d0660d5ad92a0c244cd0fed0d72b9630ebb","author":{"email":"4214fcc78ec77c101c4b11989256e557459f0535@gmail.com","name":"bcoopers"},"message":"Change max size to isize","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/f8493d0660d5ad92a0c244cd0fed0d72b9630ebb"},{"sha":"ac617b628899282f714fd6a91471d1f0b1cc3217","author":{"email":"4214fcc78ec77c101c4b11989256e557459f0535@gmail.com","name":"bcoopers"},"message":"The panic! macro can't be called with a variable declared\nwith \"let\" when building on stage0. So change the error\nmessage to a static const.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/ac617b628899282f714fd6a91471d1f0b1cc3217"},{"sha":"47def3ef27a2e027f1a93ef7870ff131ee7926fd","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #23849 - bcoopers:master, r=pnkfelix\n\nRight now, if the user requests to increase the vector size via reserve() or push_back() and the request brings the attempted memory above usize::MAX, we panic.\r\n\r\nWith this change there is only a panic if the minimum requested memory that could meet the requirement is above usize::MAX- otherwise it simply requests its largest capacity possible, usize::MAX.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/47def3ef27a2e027f1a93ef7870ff131ee7926fd"}]}