aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2020-07-06 13:33:37 -0700
committerMatthew Maurer <mmaurer@google.com>2020-07-06 13:33:37 -0700
commit27022a622ddfd7610300fe6766d128b7742bb213 (patch)
treeedf022dd54a322e087cc385a24e21741105f508f /src
parent171c5f5dc158a547145796e9909044a0ade7844d (diff)
downloadpin-project-27022a622ddfd7610300fe6766d128b7742bb213.tar.gz
Support building all variants.
Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I6dae7032877e725edc4567fd6ccf13c26b6c5a73
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 42005cc..b1543e1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -45,6 +45,9 @@
#![allow(clippy::mem_replace_with_default, clippy::manual_non_exhaustive)]
#![allow(clippy::needless_doctest_main)]
+// ANDROID: Use std to allow building as a dylib.
+extern crate std;
+
#[doc(inline)]
pub use pin_project_internal::pin_project;