aboutsummaryrefslogtreecommitdiff
path: root/patches/std.diff
blob: 1bc124038f5aed6f4aafc903f84afb211b54e792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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: