blob: da991297fcc77a046a54cfbc41b184ec91e62def [file] [log] [blame]
Joel Galenson794f2012021-06-16 09:55:23 -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,7 +40,10 @@
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"), env!("PATH_SEPARATOR"), "count.rs"));
13+include!(concat!(env!("OUT_DIR"), "/count.rs"));
14
15 #[doc(hidden)]
16 #[macro_export]