commit | 46421255c34fab1eb7b384216cadfb517df59d91 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Thu Apr 14 16:50:26 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Apr 14 16:50:26 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | cc292e951af0f93e508027458deaec206a97007e [diff] | |
parent | 8ec47c29e4192111e857c7dad686a244eb02f43b [diff] |
Merge "Update TEST_MAPPING" am: 603997526e am: 91ed01964f am: 8ec47c29e4 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2004805 Change-Id: I2174cbd018923069704d2b7123def2b8c638b434 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.