commit | 60c2c67aa4f90a6d24f8155b43d80bb79c484f21 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Wed Apr 28 22:34:18 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Apr 28 22:34:18 2021 +0000 |
tree | 79f389b1c65ee3eae9d26f714053ca0f19be4752 | |
parent | 22ef9633be95ccf55361f0aa37b103b62b2687e2 [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: Ibcfecae8e531b841cdbe9ba5df99fb933e71875f
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.