commit | d5195d2d391834b3d060a1b6878741e3d9d9af16 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Mon Apr 18 07:03:53 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Mon Apr 18 07:03:53 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | 86915489150269643806221fdbdf850783adf2fc [diff] | |
parent | 603997526e625fcde6764452bb866662435ca1e1 [diff] |
Snap for 8466163 from 603997526e625fcde6764452bb866662435ca1e1 to main-cg-testing-release Change-Id: I3028d0c0743de28be3bca6d15a3b27df57191e17
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.