• Home
Name Date Size #Lines LOC

..--

common/03-May-2024-599475

facade/03-May-2024-521443

facade_proto/03-May-2024-192106

gddi/03-May-2024-422335

hal/03-May-2024-1,103921

hci/03-May-2024-1,074910

link/03-May-2024-810695

linux/03-May-2024-2,5932,028

main/03-May-2024-147113

packets/03-May-2024-10872

shim/03-May-2024-908769

topshim/03-May-2024-990706

README.mdD03-May-2024653 1813

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