commit | 541fa0295370f66cc703e93a602c8fd54b6f6396 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:12:51 2020 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:12:51 2020 -0700 |
tree | 97928db879f162437ed7f3bc61d6ee88bacf5683 | |
parent | 4bf8ff97c216dbd84033a05d33ac515a3ad445db [diff] [blame] |
Support building all variants. Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I2642a656f3dfb91b5d3f1ee0393a89007d320061
diff --git a/src/lib.rs b/src/lib.rs index 3929b02..7b01db0 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -253,7 +253,7 @@ #![no_std] #![doc(html_root_url = "https://docs.rs/bitflags/1.2.1")] -#[cfg(test)] +// ANDROID: Unconditionally use std to allow building as a dylib #[macro_use] extern crate std;