Joel Galenson | 794f201 | 2021-06-16 09:55:23 -0700 | [diff] [blame^] | 1 | diff --git a/src/lib.rs b/src/lib.rs |
2 | index 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] |