Don't link libresolv by default on Darwin/MacOS (#4326) This fixes compatibility with toolchains that don't ship a libresolv (e.g hermetic_cc_toolchain from Uber). rules_rust currently forces '-lresolv' for a rust stdlib that hasn't needed it for several years. For context, see https://github.com/rust-lang/rust/pull/102766 and https://github.com/bazelbuild/rules_rust/issues/2611 .
This repository provides rules for building Rust projects with Bazel.
The fastest way to try this in an empty project is to click the green “Use this template” button on https://github.com/bazel-starters/rust.
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.