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