commit | fb2a890f299318ffc6c1a63f009fe269be611fc1 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Jul 20 18:23:04 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jul 20 18:23:04 2020 +0000 |
tree | 53ff9f6a588525bb36d08ecb706b8829a4688bd7 | |
parent | 046ea25792d0c9b1bf11682a27f4d13d72435cf0 [diff] | |
parent | 099778819d8e55379d69950af0012ef175aa0037 [diff] |
Add rust_test and update TEST_MAPPING am: 21b311173f am: 099778819d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365661 Change-Id: I06b828852f94122352c85fc6b037b4bd6e0475b8
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.