fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Julia RyanFixup rebase285c36a6

patching
2 folders15 files

files

env/
rust/hello_world/
.bazelignore7 B
.bazelrc519 B
.envrc321 B
.gitignore9 B
BUILD.bazel1.1 KiB
Cargo.lock155 B
Cargo.toml63 B
MODULE.bazel902 B
README.md479 B
WORKSPACE.bazel36 B
WORKSPACE.bzlmod53 B
cargo_test.sh1.2 KiB
hello386.8 KiB
rustc_test.sh1.1 KiB
rustfmt_test.sh1.2 KiB

rules_rust with bazel_env

This example uses bazel_env.bzl to provide cargo, cargo-clippy, rustc and rustfmt from the bazel toolchains to the user. They will be available directly in the PATH when the user enters this directory and has direnv set up.

Advantages: