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