Skip to content

Commit 9123c58

Browse files
committed
core: Remove transitional code
1 parent 6647a34 commit 9123c58

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/libcore/ptr.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,7 @@ pub trait Ptr<T> {
187187
pure fn offset(count: uint) -> Self;
188188
}
189189

190-
#[cfg(stage0)]
191-
unsafe fn memmove32(dst: *mut u8, src: *const u8, count: u32) {
192-
libc::memmove(dst as *c_void, src as *c_void, count as size_t);
193-
}
194-
#[cfg(stage0)]
195-
unsafe fn memmove64(dst: *mut u8, src: *const u8, count: u64) {
196-
libc::memmove(dst as *c_void, src as *c_void, count as size_t);
197-
}
198-
199190
#[abi="rust-intrinsic"]
200-
#[cfg(stage1)]
201-
#[cfg(stage2)]
202191
pub extern {
203192
fn memmove32(dst: *mut u8, src: *u8, size: u32);
204193
fn memmove64(dst: *mut u8, src: *u8, size: u64);

0 commit comments

Comments
 (0)