commit | 4bf8ff97c216dbd84033a05d33ac515a3ad445db | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Fri Jun 05 14:42:59 2020 +0100 |
committer | Andrew Walbran <[email protected]> | Fri Jun 05 14:51:16 2020 +0100 |
tree | 345e94cb624d2fb8a9c07d77b5c6fd6148717054 | |
parent | 7e1884d2194b47ec144c7eafa6e4c02efb09330c [diff] |
Allow building for device. Ran 'cargo2android.py --run --device' to update. Bug: 158290206 Change-Id: I87e73c8a5f9dd0abc0d5bba6ee0ee7c19e3805b4
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.