--- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git b/src/lib.rs a/src/lib.rs index 52bbbe0f..485e1a77 100644 --- b/src/lib.rs +++ a/src/lib.rs @@ -28,6 +28,10 @@ #![deny(missing_docs)] #![cfg_attr(test, deny(warnings))] +// ANDROID: Use std to allow building as a dylib. +#[cfg(android_dylib)] +extern crate std; + /// The main macro provided by this crate. See crate documentation for more /// information. #[macro_export]