commit | 31e3ccc093efd61c23c996339f00d654b85b8348 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Mon Nov 29 14:03:10 2021 -0800 |
committer | Joel Galenson <[email protected]> | Fri Dec 10 15:32:28 2021 -0800 |
tree | 1fc0a7c6e08e6b754b2a698b62747e2996011f81 | |
parent | a250037d1eafef80ef7267e34d0c5d94029f7482 [diff] |
Refresh Android.bp, cargo2android.json, TEST_MAPPING. Test: None Change-Id: I520e93fb7cb66891ec50a0d47009916a49c3c47e
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.