16 lines
310 B
Diff
16 lines
310 B
Diff
|
|
diff --git a/src/lib.rs b/src/lib.rs
|
||
|
|
index 49d888c..651bdc7 100644
|
||
|
|
--- a/src/lib.rs
|
||
|
|
+++ b/src/lib.rs
|
||
|
|
@@ -13,6 +13,10 @@
|
||
|
|
unused_qualifications
|
||
|
|
)]
|
||
|
|
|
||
|
|
+/// Local Android change: Use std to allow building as a dylib.
|
||
|
|
+#[cfg(android_dylib)]
|
||
|
|
+extern crate std;
|
||
|
|
+
|
||
|
|
extern crate alloc;
|
||
|
|
|
||
|
|
#[cfg(feature = "std")]
|