1 2--- 3 src/lib.rs | 2 +- 4 1 file changed, 1 insertion(+), 1 deletion(-) 5 6diff --git b/src/lib.rs a/src/lib.rs 7index fac45fc4..f2a50bf8 100644 8--- b/src/lib.rs 9+++ a/src/lib.rs 10@@ -49,7 +49,7 @@ 11 #![cfg_attr(feature = "bench", feature(test))] 12 #![no_std] 13 14-#[cfg(test)] 15+// ANDROID: Unconditionally use std to allow building as a dylib. 16 #[macro_use] 17 extern crate std; 18 19