Clone this repo:
  1. cab37b6 Add crate_edition helper macro. (#4018) by Lukas · 10 hours ago upstream/main
  2. 52e3509 Fix ordering of `--remap-path-prefix` flags. (#4008) by Jorge Gorbe Moya · 11 hours ago
  3. d7490c8 Fix platform label context in rule transitions (#3997) by Tamás Vajk · 30 hours ago
  4. 8e9f73f Fixes behavior of rust_generated_srcs within the rust-analyzer aspect (#3836) by Cameron Mulhern · 31 hours ago
  5. c70eb85 feat: Add BPF triple constraint mapping (#3696) by Tamir Duberstein · 4 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.