]> git.lizzy.rs Git - rust.git/commit
realloc with a new size only, not a full new layout.
authorSimon Sapin <simon.sapin@exyr.org>
Wed, 4 Apr 2018 15:19:16 +0000 (17:19 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Thu, 12 Apr 2018 20:53:13 +0000 (22:53 +0200)
commitc957e99b305ecee113442a7ce0edd6b565200ca9
tree02c7f8f7f8f35577d74dfb057625a2a4dae717a7
parentb017742136a5d02b6ba0f2080e97d18a8bfeba4b
realloc with a new size only, not a full new layout.

Changing the alignment with realloc is not supported.
src/liballoc/alloc.rs
src/liballoc/heap.rs
src/liballoc/raw_vec.rs
src/liballoc_system/lib.rs
src/libcore/alloc.rs