commit | be65650ea505e4a1f9c53478f9bcde2fd71ef829 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Apr 21 01:04:45 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Apr 21 01:04:45 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | 692bf5a4246610575c52ed28e1b1d54a152ab1fe [diff] | |
parent | a93fa8a5d66997b86003e8c9bf48035a3798c773 [diff] |
Snap for 8479981 from a93fa8a5d66997b86003e8c9bf48035a3798c773 to tm-d1-release Change-Id: Iea251d3e6cc90ff813873af1939665d77e497df9
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.