commit | 7780ece6dfa3f6d951fc54913deefe008566651e | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Jul 21 20:59:10 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 21 20:59:10 2020 +0000 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 562da7adf7ad146a9ccdab0b6c52208f993f2bb5 [diff] | |
parent | 859eab669ba1f71fc044bd05108a87655a9fc2c7 [diff] |
Share srcs in rust_defaults am: 36d7307a9c am: 44365bad88 am: 859eab669b Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365688 Change-Id: Ic11a2321ae4bfc6f9e943fae8a820375181987b7
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.