bazelbuild / bazelbuild/rules_rust

Use locally installed Rust toolchain rather than fetching

Open
#2,159 1 comment 5 reactions 0 assignees View on GitHub
needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

I'm using rules_rust with code that I'm also compiling with Cargo directly. I'd like the versions to match between what I'm doing inside and outside of Bazel. The easiest way to do that would be for rules_rust to use my locally installed tools (that I'm already managing directly) instead of having to manually match the versions myself.

Is there a knob for telling the rules to pick up the installed Rust toolchain rather than fetching one?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.