commit | 099778819d8e55379d69950af0012ef175aa0037 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Mon Jul 20 18:01:01 2020 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Jul 20 18:01:01 2020 +0000 |
tree | 53ff9f6a588525bb36d08ecb706b8829a4688bd7 | |
parent | 754fa345b0c6209a3522f0356293c759bad3cb07 [diff] | |
parent | 21b311173f29ab5227053fb4fa1ed116455be869 [diff] |
Add rust_test and update TEST_MAPPING am: 21b311173f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365661 Change-Id: I0e406bd7aa1d77cb501ea53c3ce53492d4a8771b
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.