commit | 7e3b21433cb35e67bf79b647c90f6a435f35ebd7 | [log] [tgz] |
---|---|---|
author | David Brazdil <[email protected]> | Tue Jan 24 18:05:03 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Jan 24 18:05:03 2023 +0000 |
tree | c566660ffe0e8ac61e547360c7ab1d26f43dee98 | |
parent | 8af55f8939b5a781bc57842646696b582dedfbb2 [diff] | |
parent | de123e63459ac424497770ebddfc6e4d888919a0 [diff] |
Update TEST_MAPPING am: 7273ed1371 am: de123e6345 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/2399316 Change-Id: I3d4aea094941551652eee517364b48bf41294d11 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.