diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-15 19:40:25 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-15 19:46:44 -0800 |
| commit | 23bae856b7f3a037caffbf6af6f376a7d48058cd (patch) | |
| tree | 0ad4f0b51e94c9a0b5e986e13c8de7d88957386a /src/rustllvm/RustWrapper.cpp | |
| parent | 0669a432a2e09ad08886cb2138dbe9f5d681fb7f (diff) | |
| download | rust-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
