commit | 91ed01964fad6a9503bfd40e157dae800ce27719 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Thu Apr 14 16:13:00 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Apr 14 16:13:00 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | a97e94178b4236eccae051697340b84352f15b58 [diff] | |
parent | 603997526e625fcde6764452bb866662435ca1e1 [diff] |
Merge "Update TEST_MAPPING" am: 603997526e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2004805 Change-Id: I9cbf1737a24392b9737acddbf1cc192c42ca0f43 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.