bazelbuild / bazelbuild/rules_rust

Document configuring custom toolchains

Open
#64 9 comments 4 reactions 0 assignees View on GitHub
needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

This [WORKSPACE](https://github.com/mfarrugi/cargo-raze-example-stdx/blob/master/WORKSPACE#L7) and [custom_rust_toolchain.bzl](https://github.com/mfarrugi/cargo-raze-example-stdx/blob/master/bazel/custom_rust_toolchain.bzl) is an example of setting up toolchains outside of the default one that is part of these rules.

Is the toolchain feature stable enough to update the documentation to recommend this flavor of custom toolchain configuration? Is it possible to configure targets to require different toolchains (eg. targets that are nightly only)?

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.