commit | 541fa0295370f66cc703e93a602c8fd54b6f6396 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:12:51 2020 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Mon Jul 06 13:12:51 2020 -0700 |
tree | 97928db879f162437ed7f3bc61d6ee88bacf5683 | |
parent | 4bf8ff97c216dbd84033a05d33ac515a3ad445db [diff] |
Support building all variants. Bug: 143217452 Test: cd external/rust; mma; atest in all TEST_MAPPING subdirs Change-Id: I2642a656f3dfb91b5d3f1ee0393a89007d320061
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.0"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.