| --- | |
| src/lib.rs | 4 ++++ | |
| 1 file changed, 4 insertions(+) | |
| diff --git b/src/lib.rs a/src/lib.rs | |
| index b51331a5..1a290b01 100644 | |
| --- b/src/lib.rs | |
| +++ a/src/lib.rs | |
| @@ -117,6 +117,10 @@ | |
| clippy::unused_self | |
| )] | |
| +// ANDROID: Use std to allow building as a dylib. | |
| +#[cfg(android_dylib)] | |
| +extern crate std; | |
| + | |
| mod distributed_slice; | |
| // Not public API. |