Clone this repo:
  1. b0daae0 cargo_build_script: allow files for the fake tools defaults (#3822) by Krasimir Georgiev · 2 days ago upstream/main
  2. fae9c58 fix: support `external_include_paths` in rust_bindgen (#3819) by Laurenz · 2 days ago
  3. b4c37a0 Add Rust 1.92.0 and 1.93.0. (#3820) by Piotr Sikora · 2 days ago
  4. f198dde Fix stamping for rules that don't have a stamp attribute (#3829) by Justin Horvitz · 2 days ago
  5. 9586468 Switch stamping detection to ctx.configuration.stamp_binaries() (#3816) by Justin Horvitz · 5 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.