Skip to content

Move rust/toolchain.bzl implementation into rust/private#4087

Open
UebelAndre wants to merge 1 commit into
bazelbuild:mainfrom
UebelAndre:toolchain-move
Open

Move rust/toolchain.bzl implementation into rust/private#4087
UebelAndre wants to merge 1 commit into
bazelbuild:mainfrom
UebelAndre:toolchain-move

Conversation

@UebelAndre

Copy link
Copy Markdown
Collaborator

This change is a noop for our public interface but allows for more helper functions to exist in toolchains.bzl without them expanding the public interface.

@UebelAndre UebelAndre marked this pull request as ready for review June 16, 2026 17:44
@UebelAndre UebelAndre enabled auto-merge June 16, 2026 17:44

@LuuOW LuuOW left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical audit: code patterns and implementation verified for alignment with modern software engineering standards.

@slackito slackito left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving rust/toolchain.bzl to rust/private/toolchain.bzl sounds good for the reasons in the PR description. What's the reason for moving rust/toolchain.bzl to rust/rust_toolchain.bzl and then needing to keep rust/toolchain.bzl for backwards compatibility? (I'm not necessarily opposed to it, just want to understand)

@UebelAndre

Copy link
Copy Markdown
Collaborator Author

Yeah, keeping toolchain.bzl is for backward compatibility

@UebelAndre UebelAndre requested a review from slackito June 17, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants