1
2---
3 src/lib.rs | 4 ++++
4 1 file changed, 4 insertions(+)
5
6diff --git b/src/lib.rs a/src/lib.rs
7index 52bbbe0f..485e1a77 100644
8--- b/src/lib.rs
9+++ a/src/lib.rs
10@@ -28,6 +28,10 @@
11 #![deny(missing_docs)]
12 #![cfg_attr(test, deny(warnings))]
13
14+// ANDROID: Use std to allow building as a dylib.
15+#[cfg(android_dylib)]
16+extern crate std;
17+
18 /// The main macro provided by this crate. See crate documentation for more
19 /// information.
20 #[macro_export]
21