Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added rules_rust_dependencies and rust_register_toolchains macros #1105

Merged
merged 2 commits into from
Jan 27, 2022

Conversation

UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Jan 25, 2022

This allows users to have more control over what repositories are created when setting up rules_rust in their workspace and conforms to the bazel-contrib guide for Bazel rules.

rust/repositories.bzl Outdated Show resolved Hide resolved
@UebelAndre UebelAndre changed the title Allow users to load dependencies but optionally not register toolchains Added rules_rust_dependencies and rust_register_toolchains macros Jan 25, 2022
Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@hlopko hlopko left a comment

Choose a reason for hiding this comment

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

Thank you! This is also conforming to https://docs.bazel.build/versions/main/skylark/deploying.html \o/ :)

@UebelAndre UebelAndre merged commit 1cb3c44 into bazelbuild:main Jan 27, 2022
@UebelAndre UebelAndre deleted the toolchain branch January 27, 2022 17:55
@@ -127,12 +127,14 @@ PAGES = dict([
page(
name = "rust_repositories",
symbols = [
"rules_rust_depednencies",
Copy link

Choose a reason for hiding this comment

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

Drive-by comment, but should it be rules_rust_dependencies here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oops! Thanks! #1110

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.

None yet

4 participants