commit | 21b311173f29ab5227053fb4fa1ed116455be869 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Jul 16 16:27:48 2020 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Jul 16 16:33:32 2020 -0700 |
tree | 53ff9f6a588525bb36d08ecb706b8829a4688bd7 | |
parent | 82f0b4853455c898f98757fabcb0841a413dc7d3 [diff] |
Add rust_test and update TEST_MAPPING Test: atest -c --include-subdirs external/rust/crates Change-Id: Ie7f54062430e67f17a60ad372977cda88eec0b78
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.