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