add implementations of memcpy et al

behind the "mem" Cargo feature, which used to be named "weak"

fixes #126
This commit is contained in:
Jorge Aparicio
2016-12-17 23:01:47 -05:00
parent 9d3cfedce6
commit b8d6652035
4 changed files with 68 additions and 11 deletions

View File

@@ -11,7 +11,6 @@
#![feature(asm)]
#![feature(compiler_builtins)]
#![feature(core_intrinsics)]
#![feature(linkage)]
#![feature(naked_functions)]
#![feature(staged_api)]
#![no_builtins]
@@ -102,9 +101,6 @@ extern crate compiler_rt;
#[cfg(test)]
extern crate rand;
#[cfg(feature = "weak")]
extern crate rlibc;
#[cfg(test)]
#[macro_use]
mod qc;
@@ -112,6 +108,9 @@ mod qc;
pub mod int;
pub mod float;
#[cfg(feature = "mem")]
pub mod mem;
#[cfg(target_arch = "arm")]
pub mod arm;