diff options
| author | bors <bors@rust-lang.org> | 2013-12-17 03:51:40 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-17 03:51:40 -0800 |
| commit | 793eb1d38d6549e26fbf3014604c5c81e4b18c4f (patch) | |
| tree | 62b9cd5ba709a7a26fe14df65e34fc3a53b5081f /src/rustllvm/RustWrapper.cpp | |
| parent | dc65762d7923a9e66e8e5d743cb8b2d2fdd3cde5 (diff) | |
| parent | dd355700cf4f1fa1744cdeb165b68898fa30a9d1 (diff) | |
| download | rust-793eb1d38d6549e26fbf3014604c5c81e4b18c4f.tar.gz rust-793eb1d38d6549e26fbf3014604c5c81e4b18c4f.zip | |
auto merge of #10996 : huonw/rust/more-vec-raw, r=cmr
The removal of the aliasing &mut[] and &[] from `shift_opt` also comes with its simplification. The above also allows the use of `copy_nonoverlapping_memory` in `[].copy_memory` (I did an audit of each use of `.copy_memory` and `std::vec::bytes::copy_memory`, and I believe none of them are called with arguments can ever alias). This changes requires that `unsafe` code using `copy_memory` **needs** to respect the aliasing rules of `&mut[]`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
