| diff --git b/src/lib.rs a/src/lib.rs | |
| index 1fe9b1a..6bf3d1b 100644 | |
| --- b/src/lib.rs | |
| +++ a/src/lib.rs | |
| @@ -16,6 +16,10 @@ | |
| #![no_std] | |
| #![deny(clippy::undocumented_unsafe_blocks)] | |
| +/// Local Android change: Use std to allow building as a dylib. | |
| +#[cfg(android_dylib)] | |
| +extern crate std; | |
| + | |
| extern crate alloc; | |
| use alloc::{vec, vec::Vec}; | |