commit | ac5aa0607f68638a5e63c94496bc72b3f4a0c080 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Jun 05 18:10:29 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jun 05 18:10:29 2020 +0000 |
tree | 345e94cb624d2fb8a9c07d77b5c6fd6148717054 | |
parent | 7e1884d2194b47ec144c7eafa6e4c02efb09330c [diff] | |
parent | 4bf8ff97c216dbd84033a05d33ac515a3ad445db [diff] |
Allow building for device. am: 4bf8ff97c2 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1324495 Change-Id: I6c374abb08a5f6fcfeffba108182188f3aba8eb9
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.