This is a repository to vendor and provide build rules for the third party crates that Pigweed's rust code depends on. Currently only Bazel build rules are provided.
The list of vendored crates is defined by the dependencies listed in //Cargo.toml. The contents of the //crates
directory is generated by //:crates_vendor
. To update the vendored crates and build files to match run:
bazel run //:crates_vendor -- --repin
Licenses can be checked with cargo license -d
.
= note: collect2: fatal error: cannot find 'ld' compilation terminated.
If you get the above error when running bazel run //:crates_vendor -- --repin
, ensure lld
is installed on your system. For instance:
sudo apt install lld