put weak mem* symbols behind an opt-in Cargo feature

closes #64
cc #66
This commit is contained in:
Jorge Aparicio
2016-09-22 14:46:05 -05:00
parent 0223d851b8
commit 2dc91bd96c
4 changed files with 30 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ extern crate gcc_s;
#[cfg(test)]
extern crate rand;
#[cfg(all(not(windows), not(target_os = "macos")))]
#[cfg(feature = "weak")]
extern crate rlibc;
pub mod int;