commit | a2a4976d312d68b7af480de57a2eac24a86500b8 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 07 01:20:55 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 07 01:20:55 2020 +0000 |
tree | 97928db879f162437ed7f3bc61d6ee88bacf5683 | |
parent | cf2d4f4e13cd40ff388315f41295857f4d1e171b [diff] | |
parent | f8b889099c4c0adfb0c934dc64be93e3e879cf65 [diff] |
Support building all variants. am: 541fa02953 am: 6f6e8c65f8 am: f8b889099c Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1356123 Change-Id: I8a4400c0dbf91a649a2929b0ed8077176ec106b8
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.