commit | 0ea0bd25a1b88c494527738a19023d728381818f | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Jul 20 19:21:56 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jul 20 19:21:56 2020 +0000 |
tree | 53ff9f6a588525bb36d08ecb706b8829a4688bd7 | |
parent | 94ff742b106bd89f2dd9efccafb7cc8b7022f09f [diff] | |
parent | 136646bceb3194a3e7131e4c8daaf45e0a78a54e [diff] |
Add rust_test and update TEST_MAPPING am: 21b311173f am: 099778819d am: fb2a890f29 am: 562da7adf7 am: 136646bceb Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365661 Change-Id: I3dc52675c602cdf87089516b26f94d357be3bb94
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.