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