We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6647a34 commit 9123c58Copy full SHA for 9123c58
src/libcore/ptr.rs
@@ -187,18 +187,7 @@ pub trait Ptr<T> {
187
pure fn offset(count: uint) -> Self;
188
}
189
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
195
-unsafe fn memmove64(dst: *mut u8, src: *const u8, count: u64) {
196
197
198
-
199
#[abi="rust-intrinsic"]
200
-#[cfg(stage1)]
201
-#[cfg(stage2)]
202
pub extern {
203
fn memmove32(dst: *mut u8, src: *u8, size: u32);
204
fn memmove64(dst: *mut u8, src: *u8, size: u64);
0 commit comments