about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-15 19:40:25 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-15 19:46:44 -0800
commit23bae856b7f3a037caffbf6af6f376a7d48058cd (patch)
tree0ad4f0b51e94c9a0b5e986e13c8de7d88957386a /src/rustllvm/RustWrapper.cpp
parent0669a432a2e09ad08886cb2138dbe9f5d681fb7f (diff)
downloadrust-23bae856b7f3a037caffbf6af6f376a7d48058cd.tar.gz
rust-23bae856b7f3a037caffbf6af6f376a7d48058cd.zip
std: Second-pass stabilization of `mem`
This commit takes a second pass through the `std::mem` module for stabilization.
The only remaining non-stable items in this module were `forget`, `transmute`,
`copy_lifetime`, and `copy_lifetime_mut`.

The `forget` and `transmute` intrinsics themselves were marked `#[stable]` to
propgate into the `core::mem` module so they would be marked stable.

The `copy_lifetime` functions were left `unstable`, but `Sized?` annotations
were added to the parameters to allow more general use with DSTs.

The `size_of_val`, `min_align_of_val`, and `align_of_val` functions would like
to grow `Sized?` bounds, but this is a backwards compatible change that
currently ICEs the compiler, so this change was not made at this time.

Finally, the module itself was declared `#![stable]` in this pass.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions