]> git.lizzy.rs Git - rust.git/commit
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)
commit30b527156bdb8ccb41421e2243272043e0cdb746
tree6b1097bf924af0ee0626cc5b3247a58586c3d74b
parent4b88e8f63eeaf557c916a0a1e73150b028c44c52
parent101b25c10031b0230674f86712ce709e5e6f6023
Rollup merge of #25254 - cgaebel:check-sizes-on-allocate, r=Gankro

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
src/liballoc/heap.rs