| diff --git a/src/lib.rs b/src/lib.rs | |
| index af7015e..b4d5a1a 100644 | |
| --- a/src/lib.rs | |
| +++ b/src/lib.rs | |
| @@ -37,8 +37,10 @@ | |
| #![no_std] | |
| #![cfg_attr(feature = "bench", feature(test, unicode_internals))] | |
| -#[cfg(test)] | |
| -#[macro_use] | |
| +// #[cfg(test)] | |
| +// ANDROID: Unconditionally use std to allow building as a dylib. | |
| +// #[macro_use] | |
| +#[cfg(android_dylib)] | |
| extern crate std; | |
| #[cfg(feature = "bench")] |