commit | d7081b4d221482c60dd75894c3680ab69e670b06 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Jul 14 02:05:07 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 14 02:05:07 2020 +0000 |
tree | 4ba7f793f03f66b89caf7106db8ad048c8f10971 | |
parent | a2a4976d312d68b7af480de57a2eac24a86500b8 [diff] | |
parent | 046ea25792d0c9b1bf11682a27f4d13d72435cf0 [diff] |
Regenerate Android.bp with new cargo2android.py am: 82f0b48534 am: 754fa345b0 am: 046ea25792 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1360604 Change-Id: I3e56ef97eadd94da77896b2c2f223a2644960bbe
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.