[automerger skipped] Empty merge of sc-v2-dev-plus-aosp-without-vendor@8433047 am: 7b78233cff -s ours am: 35b41f7ee9 -s ours am: 2b803731c0 -s ours am: a93fa8a5d6 -s ours am skip reason: Merged-In I4402ef9c5b6089fd495e8343460d9fd459560202 with SHA-1 ab2400dbd9 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/17805278 Change-Id: I9ba1589531778f705a44724d979e5e1c82f7b35e Signed-off-by: Automerger Merge Worker <[email protected]>
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml:
[dependencies] bitflags = "1.3"
and this to your source code:
use bitflags::bitflags;
The minimum supported Rust version is 1.46 due to use of associated constants and const functions.