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 4e006578..1dd35f2e 100644
8--- b/src/lib.rs
9+++ a/src/lib.rs
10@@ -235,6 +235,10 @@
11 //! [good cryptographic hygiene]: https://github.com/veorq/cryptocoding#clean-memory-of-secret-data
12 //! [`Ordering::SeqCst`]: core::sync::atomic::Ordering::SeqCst
13
14+/// Local Android change: Use std to allow building as a dylib.
15+#[cfg(android_dylib)]
16+extern crate std;
17+
18 #[cfg(feature = "alloc")]
19 extern crate alloc;
20
21