Go to file
Sam McCall a6426e06d0
rust_test(crate=foo) inherits foo.aliases (#2965)
Inline tests compile the same set of source files as the original crate.
The set of aliases required will be the same or occasionally a superset.
We shouldn't make users repeat them across targets.
2024-10-28 16:04:57 +00:00
.bazelci Flipped `incompatible_runfiles_cargo_manifest_dir` (#2948) 2024-10-23 18:18:32 +00:00
.bcr Test BCR example in minimum bazel (#2613) 2024-04-15 15:48:15 +00:00
.github Updated docs to use mdbook (#2834) 2024-09-05 17:51:48 +00:00
bindgen Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
cargo Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
crate_universe Added Rust 1.82.0 (#2944) 2024-10-21 05:39:37 +00:00
docs Added Rust 1.82.0 (#2944) 2024-10-21 05:39:37 +00:00
examples Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
ffi Minor cleanup (#2357) 2023-12-27 11:13:16 +00:00
nix fix: `rustc_compile_action` emits `CcInfo` for `wasm32` targets (#1979) 2023-12-08 13:42:54 -08:00
proto Added Rust 1.82.0 (#2944) 2024-10-21 05:39:37 +00:00
rust rust_test(crate=foo) inherits foo.aliases (#2965) 2024-10-28 16:04:57 +00:00
test rust_test(crate=foo) inherits foo.aliases (#2965) 2024-10-28 16:04:57 +00:00
tools gen_rust_project: optimize aquery with many targets (#2941) 2024-10-18 17:45:08 +00:00
util Added Rust 1.82.0 (#2944) 2024-10-21 05:39:37 +00:00
wasm_bindgen Fix fuchsia platform triple (#2945) 2024-10-20 15:33:14 +00:00
.bazelignore upstream wrappers for cargo, rustc, cargo-clippy (#2703) 2024-06-25 11:34:39 +00:00
.bazelrc Get rolling releases CI green (#2916) 2024-10-04 00:34:54 +00:00
.bazelversion Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
.clang-format Added Rust 1.71.0 (#2062) 2023-07-27 10:19:55 +00:00
.clippy.toml Move all settings flags into `//rust/settings` (#2870) 2024-09-18 15:54:25 +00:00
.envrc fix: use `watch_file` in `.envrc` (#2343) 2023-12-18 12:31:34 -08:00
.gitattributes Expose crates_vendor deps to bzlmod (#2372) 2023-12-28 18:53:57 +00:00
.gitignore Bazelmod documentation and code examples. (#2713) 2024-07-12 12:31:00 +00:00
.prettierrc.toml
.rustfmt.toml Support rustfmt on crates with generated sources (#2255) 2023-11-16 11:40:34 +01:00
ARCHITECTURE.md
AUTHORS Allow rust toolchain repositories from custom repo rules (#1036) 2021-11-29 15:18:08 +00:00
BUILD.bazel Move all settings flags into `//rust/settings` (#2870) 2024-09-18 15:54:25 +00:00
CODEOWNERS
COMPATIBILITY.md Remove redundant/legacy cargo_build_script.bzl (#2364) 2023-12-28 10:39:36 +00:00
CONTRIBUTING.md
CONTRIBUTORS
LICENSE.txt
MODULE.bazel Added Rust 1.82.0 (#2944) 2024-10-21 05:39:37 +00:00
README.md Remove deleted pipeline from README (#934) 2021-09-10 10:07:14 +02:00
WORKSPACE.bazel rust-analyzer: Factor aliases into the project (#2709) 2024-06-20 15:47:56 +00:00
buildifier Add s390x arch support (#2616) 2024-09-06 15:11:20 +00:00
version.bzl Release version 53.0 (#2949) 2024-10-18 18:01:09 +00:00

README.md

Rust Rules

  • Postsubmit Build status

Overview

This repository provides rules for building Rust projects with Bazel.

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.