commit | ec3d6dda0c60d0631a5f4aba791c73058cc7c14d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Aug 25 07:51:52 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Aug 25 07:51:52 2022 +0000 |
tree | eb4e3cae81a9d4880a9a69333d51b7c21236fe32 | |
parent | b1a1cfc782597c3d72cd427f3ee33028cabe685a [diff] | |
parent | ef554fa633049e929cbc10e0e7ab04c19935010f [diff] |
Snap for 8992082 from ef554fa633049e929cbc10e0e7ab04c19935010f to gki13-boot-release Change-Id: I9a4ee42fc17b6750a36e9931ec20b2f9c02edf50
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.