--- | |
src/lib.rs | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git b/src/lib.rs a/src/lib.rs | |
index 11ef03ca..dbf3d932 100644 | |
--- b/src/lib.rs | |
+++ a/src/lib.rs | |
@@ -15,6 +15,10 @@ | |
unused_qualifications | |
)] | |
+/// Local Android change: Use std to allow building as a dylib. | |
+#[cfg(android_dylib)] | |
+extern crate std; | |
+ | |
extern crate alloc; | |
#[cfg(feature = "std")] |