commit | 1c2fe0734ee47c3a40b4885f81ffb971bb2befc8 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 07 02:05:19 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 07 02:05:19 2020 +0000 |
tree | 97928db879f162437ed7f3bc61d6ee88bacf5683 | |
parent | e36fb8cb48c013e49086ce568985ef17579d231a [diff] | |
parent | b6c5bb634dfceba899533b6c7b11f65a7e9c45e6 [diff] |
Support building all variants. am: 541fa02953 am: 6f6e8c65f8 am: f8b889099c am: a2a4976d31 am: b6c5bb634d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1356123 Change-Id: I22f105142293c296e047130919b88110f7b4b2b5
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.