blob: 6d71af2d7c1f464ecd43ee231a2a2b89180d7ec8 [file] [log] [blame]
Chih-Hung Hsieh905c18a2020-10-25 03:57:56 -07001diff --git a/src/lib.rs b/src/lib.rs
2index 9ec6df0..0cd8302 100644
3--- a/src/lib.rs
4+++ b/src/lib.rs
5@@ -40,6 +40,9 @@
6
7 #![no_std]
8
9+// ANDROID: Use std to allow building as a dylib.
10+extern crate std;
11+
12 include!(concat!(env!("OUT_DIR"), "/count.rs"));
13
14 #[doc(hidden)]