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