commit | b772c12c884aa2b86b366575ddfe354fb1f1eca1 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Apr 28 21:19:43 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 28 21:19:43 2021 +0000 |
tree | 79f389b1c65ee3eae9d26f714053ca0f19be4752 | |
parent | b6847a666fe018c3c159bad042b408b41de86de8 [diff] | |
parent | 89e0a889bc9dc1c5eaeea2a87701ae4c14d3d83e [diff] |
Generate apex_available from c2a instead of a patch am: 89e0a889bc Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1688686 Change-Id: Ib29692faf2398e89d1dbf15f5dbfefa684187faf
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.