Clone this repo:
  1. fabd0f9 Expose `opt_level` in `rust` extension (#4061) by UebelAndre · 6 hours ago upstream/main
  2. 20dbf36 Added Rust 1.96.0 (#4060) by UebelAndre · 16 hours ago
  3. 0dc66fa feature: introduce link_deps attribute for native library linkage (#4024) by Suyash Agarwal · 17 hours ago
  4. e13543d Support `--incompatible_exclude_starlark_flags_from_exec_config`. (#4056) by Jorge Gorbe Moya · 20 hours ago
  5. e0ddf88 Fix incorrect exec transition for cargo_build_script (#4040) by UebelAndre · 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.