commit | 5ce7700e1e98d89cf4b85e27cad0c96107ef6dcd | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Wed Jun 15 20:10:22 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Jun 15 20:10:22 2022 +0000 |
tree | 2ff591547099e920bef0ca40a55b8016254ff490 | |
parent | e82f1df42851933e97ac8bc70e0979ef61406d86 [diff] | |
parent | 58791ad5dab178d4a5654d553545aa5d9d197f9d [diff] |
Merge "Update TEST_MAPPING" am: 58791ad5da Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2125832 Change-Id: Ica3bbbc4c6deabd0fda1c2f0d7f565e68b21949e 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.