Clone this repo:
  1. 0e9afe0 rust_bindgen_library: support cc_lib targets with only a dynamic library (#4251) by backtr4ce · 4 days ago upstream/main
  2. fc6ee8b Add a dlltool attribute to rust_toolchain (#4330) by Hugo Beauzée-Luyssen · 4 days ago
  3. 51eb1ec Change cfg default from depset to list (#4324) by Taylor Edwards · 8 days ago
  4. bbeacc8 Provide defaults for optional CrateInfo fields in _create_crate_info (#4322) by Taylor Edwards · 11 days ago
  5. f69123b Normalize Clang forwarded system header paths (#4321) by Corentin Kerisit · 12 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.