commit | 5b9e940f7329003cc4f114af376ca6669936dc26 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:34:49 2020 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:34:49 2020 -0700 |
tree | 654cfc645fd75f18bed398b42212f7db8240dcd5 | |
parent | 75ec7601c79e594edd0a4ccc03bf95bff579df4b [diff] [blame] |
Support building all variants. Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I675ad5a4215baaffc99d4b4a1b5072c470b107c4
diff --git a/src/lib.rs b/src/lib.rs index 1ee35c8..68e5b7e 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -49,7 +49,7 @@ #![cfg_attr(feature = "bench", feature(test))] #![no_std] -#[cfg(test)] +// ANDROID: Unconditionally use std to allow building as a dylib. #[macro_use] extern crate std;