commit | 699e193d38bbf63a37d1c6476f9a141722078f0f | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Apr 28 22:32:08 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 28 22:32:08 2021 +0000 |
tree | 79f389b1c65ee3eae9d26f714053ca0f19be4752 | |
parent | 2e5ad9d8616f3e1aa6a170fdb335d34a41c981c5 [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: I18d730a028894623450cf6aabea7f352b916ce61
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.