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