commit | 3f3adfd08259c8292f4b81945861568535da4cd0 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Wed Jun 15 22:28:35 2022 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Jun 15 22:28:35 2022 +0000 |
tree | 2ff591547099e920bef0ca40a55b8016254ff490 | |
parent | db703b116c81c56a71d90eac78c4dfe683eac718 [diff] | |
parent | 7adf490d6bfd04ade2b616fb42a75da0ce78abed [diff] |
Merge "Update TEST_MAPPING" am: 58791ad5da am: 5ce7700e1e am: 9d9d8d2fce am: 7adf490d6b Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2125832 Change-Id: Ic3447a2a0ec9b476445b0c5f22d8b1328cc0013b 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.