diff --git a/src/lib.rs b/src/lib.rs index 6ec2021..7e46d02 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -137,6 +137,9 @@ pin-project supports this. clippy::undocumented_unsafe_blocks, )] +// ANDROID: Use std to allow building as a dylib. +extern crate std; + /// A macro that creates a projection type covering all the fields of struct. /// /// This macro creates a projection type according to the following rules: