README.md
1Rust build
2======
3
4Currently, the Rust components are built differently on Android vs Linux. We are
5missing Rust support in our GN toolchain so we currently build the Rust
6libraries as a staticlib and link in C++. This may change in the future once we
7have better support.
8
9For now, you can build all of the Rust code using Cargo.
10
11There are some dependencies:
12* You must have the protobuf-compiler package installed
13* You must have a recent version of Cargo + Rust
14
15You should use `build.py` at the root to do your Rust builds so that it
16correctly points your dependencies towards the vendored crates and sets your
17$CARGO_HOME to the correct location.
18