commit | 773349be77f428f726e76944827ec9a3209b62f9 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Wed Apr 20 11:30:04 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Apr 20 11:30:04 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | 53169df9773e02f4f12deed01c6f520abf938999 [diff] | |
parent | a93fa8a5d66997b86003e8c9bf48035a3798c773 [diff] |
[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.