bazelbuild / bazelbuild/rules_rust

Defaults for edition should be consolidated

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

Description

Numerous places specify a default of "2015" for edition.

* [rust/repositories.bzl#L415](https://github.com/bazelbuild/rules_rust/blob/48cc069/rust/repositories.bzl#L415)
* [rust/repositories.bzl#L162](https://github.com/bazelbuild/rules_rust/blob/48cc069/rust/repositories.bzl#L162)
* [rust/toolchain.bzl#L59](https://github.com/bazelbuild/rules_rust/blob/48cc069/rust/toolchain.bzl#L59)

To avoid mistakes with this, we should probably consolidate these into a single place.

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.