commit | 3f1b78c088a9ef51ef9844cabe8e88d31e40a428 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Aug 27 18:30:02 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 27 18:30:02 2020 +0000 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 859eab669ba1f71fc044bd05108a87655a9fc2c7 [diff] | |
parent | bad47995267ffb02c19b35a2a5d88aede5a8b8cf [diff] |
[automerger skipped] Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged am: bad4799526 -s ours am skip reason: Change-Id I72a48b539b851a297dae70f394b3236deac9b865 with SHA-1 046ea25792 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/12469818 Change-Id: I44f035f710c4b48667a7f4769af315e6e35f2d06
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.