commit | b1a1cfc782597c3d72cd427f3ee33028cabe685a | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Jun 19 04:31:14 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Jun 19 04:31:14 2022 +0000 |
tree | 2ff591547099e920bef0ca40a55b8016254ff490 | |
parent | 32ac4ef876cfb454bfee92a8745ccdf3362a39ff [diff] | |
parent | 58791ad5dab178d4a5654d553545aa5d9d197f9d [diff] |
Snap for 8743232 from 58791ad5dab178d4a5654d553545aa5d9d197f9d to gki13-boot-release Change-Id: Ia2f1bd1966f30a2a56336378764058387cc1a904
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.