commit | cf2d4f4e13cd40ff388315f41295857f4d1e171b | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Jun 05 18:35:33 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jun 05 18:35:33 2020 +0000 |
tree | 345e94cb624d2fb8a9c07d77b5c6fd6148717054 | |
parent | 129de0958214a7da968e8a4df933cd02e1ba5310 [diff] | |
parent | 8cedc88b1ac28b438fa514ee5b601f8da77f7d11 [diff] |
Allow building for device. am: 4bf8ff97c2 am: ac5aa0607f am: 8cedc88b1a Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1324495 Change-Id: Ie9fd29890dd85493afb052afcbf4eacc5d464bb9
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.0"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.