only set $CARGO if toolchain.cargo is set (#3275) Follow-up from https://github.com/bazelbuild/rules_rust/pull/3245: `toolchain.cargo` is optional and might be missing for some custom toolchains; only attempt to set it up if it's present.
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.