Clone this repo:
  1. 71bdd24 Support path mapping in Rust Starlark actions (#4063) by Damian Banki · 28 hours ago upstream/main
  2. 0d36c00 Fix rust_doc_test linking with native libraries (#4080) by Patrick Scott · 2 days ago
  3. 57d165f Add support for build script runfiles (#4066) by UebelAndre · 2 days ago
  4. 34ea934 Prefix execroot-relative file arguments with pwd (#4067) by Martin Altenburg · 3 days ago
  5. 301d425 Fixes rust-analyzer include_dirs for crates with generated sources (#3840) by Cameron Mulhern · 3 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.