commit | 046ea25792d0c9b1bf11682a27f4d13d72435cf0 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Tue Jul 14 01:46:36 2020 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Jul 14 01:46:36 2020 +0000 |
tree | 4ba7f793f03f66b89caf7106db8ad048c8f10971 | |
parent | f8b889099c4c0adfb0c934dc64be93e3e879cf65 [diff] | |
parent | 754fa345b0c6209a3522f0356293c759bad3cb07 [diff] |
Regenerate Android.bp with new cargo2android.py am: 82f0b48534 am: 754fa345b0 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1360604 Change-Id: I72a48b539b851a297dae70f394b3236deac9b865
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.