Clone this repo:
  1. 6c5cc32 Move flags passed in `rust_flags` near the end of the rustc invocation. (#4135) by Jorge Gorbe Moya · 2 days ago upstream/main
  2. 5786455 Added Rust 1.97.0 (#4144) by UebelAndre · 5 days ago
  3. dd6729b Add rust-analyzer clippy end-to-end test (#4147) by Alex Conrey · 5 days ago
  4. ed32150 Return repo_metadata from repository rules (#4146) by Keith Smiley · 6 days ago
  5. 7cd42b8 Fix rust-analyzer proc-macro merge for k8-opt-exec paths (#4140) by Martin Kuntz Jacobsen · 6 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.