commit | 11caa7b9d07dc218e0f03a13d43b919e059aff1a | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Jul 21 21:35:00 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 21 21:35:00 2020 +0000 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 0ea0bd25a1b88c494527738a19023d728381818f [diff] | |
parent | 30cf556b9a7bf3efc39fef3ac4b9a58849f3e7d7 [diff] |
Share srcs in rust_defaults am: 36d7307a9c am: 44365bad88 am: 859eab669b am: 7780ece6df am: 30cf556b9a Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1365688 Change-Id: I8a4e44374d4cc03b198f44f1824b65680856866a
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.