commit | 36d7307a9cff98e3378874daf8a2dc9b1bf72e5c | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Jul 16 16:27:48 2020 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Jul 20 10:54:31 2020 -0700 |
tree | e160d0d375af275deb491ee145c855995596c0b5 | |
parent | 21b311173f29ab5227053fb4fa1ed116455be869 [diff] |
Share srcs in rust_defaults Test: atest -c --include-subdirs external/rust/crates Change-Id: Ibcab2ac654654445015d91d7dc6df7caf9d4b502
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.