Clone this repo:
  1. 0e95c87 Remap path prefixes for canonicalized paths (#3903) by UebelAndre · 3 hours ago upstream/main
  2. 0a59de5 Fix missing line coverage (#3956) by UebelAndre · 25 hours ago
  3. ee57fdc Revert "Pin to bazel 8.4.2 (#3804)" (#3867) by UebelAndre · 2 days ago
  4. dc9ca99 Added `version` to `rust_toolchain` (#3952) by UebelAndre · 2 days ago
  5. 90a19fa Support exec_compatible_with for Cargo build scripts (#3951) by Gregory Anders · 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.