commit | 8ceb2c6d3b4581740ffa5fa857a2023b8f3985e5 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Apr 28 22:10:40 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Apr 28 22:10:40 2021 +0000 |
tree | 79f389b1c65ee3eae9d26f714053ca0f19be4752 | |
parent | 22ef9633be95ccf55361f0aa37b103b62b2687e2 [diff] | |
parent | 860c039a4f9fb8ee3cda0976cbeceab50cf9c18f [diff] |
Generate apex_available from c2a instead of a patch am: 89e0a889bc am: b772c12c88 am: 860c039a4f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1688686 Change-Id: I7c211d2e3f34ba07edff5d35d6d9160b97e9a574
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.