With this change the nightly and stable toolchain versions are
specified. The use of rust_common.default_version means other imported
code using @rules_rust will follow the same version as unfortunately it
not possible to have multiple toolchain versions per channel (e.g.
stable, beta, nightly, etc.)
This addresses the following warning:
DEBUG: /home/rob/.cache/bazel/_bazel_rob/fb5120ab77a24b2e7ea36ba7223ecbaf/external/rules_rust/rust/repositories.bzl:160:14:
rust_register.toolchains.iso_date
is deprecated. Please useversions
instead: https://bazelbuild.github.io/rules_rust/flatten.html#rust_register_toolchains-versionsWith this change the nightly and stable toolchain versions are specified. The use of rust_common.default_version means other imported code using @rules_rust will follow the same version as unfortunately it not possible to have multiple toolchain versions per channel (e.g. stable, beta, nightly, etc.)
Signed-off-by: Rob Bradford rbradford@rivosinc.com