Clone this repo:
  1. 04277ad Don't link libresolv by default on Darwin/MacOS (#4326) by David Zero · 7 hours ago upstream/main
  2. 8ef830d Add loongarch64 host toolchain support (#4150) by Chris-wh233 · 36 hours ago
  3. 162cb03 don't pass link_deps to py_pyo3_library (#4334) by comicfans · 2 days ago
  4. a58a628 Support Windows Python import libraries in the PyO3 toolchain (#4341) by Max Kanat-Alexander · 2 days ago
  5. e20f77c Export rust_lto_flag from //rust:defs.bzl (#4338) by Dima Merkurev · 2 days ago

Rust Rules

  • Postsubmit Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Starter repo

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.

Community

General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.

Documentation

Please refer to the full documentation.