commit | 0166cdddc678ee157650e20f44859745966f80c8 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 22 11:15:54 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 22 11:15:54 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | b933895fe27526e337e6dda735ed2c867fa389f4 [diff] | |
parent | dc80ef7b6d9915bc11d64cd3d4826aedc7d8cc7b [diff] |
Snap for 9430503 from dc80ef7b6d9915bc11d64cd3d4826aedc7d8cc7b to t-keystone-qcom-release Change-Id: Ic40a67f4b89804c631ecc9277e1104d8b51995bf
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.