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.