--- | |
src/lib.rs | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git b/src/lib.rs a/src/lib.rs | |
index fac45fc4..f2a50bf8 100644 | |
--- b/src/lib.rs | |
+++ a/src/lib.rs | |
@@ -49,7 +49,7 @@ | |
#![cfg_attr(feature = "bench", feature(test))] | |
#![no_std] | |
-#[cfg(test)] | |
+// ANDROID: Unconditionally use std to allow building as a dylib. | |
#[macro_use] | |
extern crate std; | |