commit | d29d3ce40bdbcddd299389796601bb289f6583ca | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Nov 29 19:19:09 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Nov 29 19:19:09 2021 +0000 |
tree | b2594e1fc7ab61aee60e80ead080e1eef8e6e147 | |
parent | 2bf65706b81dd725bee46ae9e6956d80bf73d7df [diff] | |
parent | 8bf466dd070115b85962aec2917e48df052c4c05 [diff] |
Snap for 7952289 from 8bf466dd070115b85962aec2917e48df052c4c05 to t-keystone-qcom-release Change-Id: Id2bf104ecb42c75a7c437a5afa02cd0934579d55
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.