]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #25254 - cgaebel:check-sizes-on-allocate, r=Gankro
authorSteve Klabnik <steve@steveklabnik.com>
Tue, 12 May 2015 03:24:18 +0000 (23:24 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Tue, 12 May 2015 03:24:18 +0000 (23:24 -0400)
They're only enabled in debug builds, but a panic is usually more
welcome than UB in debug builds.

Previous review at https://github.com/rust-lang/rust/pull/22069

r? @Gankro
cc @huon

1  2 
src/liballoc/heap.rs

Simple merge