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

Update the Rust toolchain example #314

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Update the Rust toolchain example #314

merged 1 commit into from
Feb 2, 2023

Conversation

mrkkrp
Copy link
Member

@mrkkrp mrkkrp commented Feb 1, 2023

Update rules_rust to 0.17.0.

Comment on lines 4 to 6
"branch": "22.05",
"rev": "ce6aa13369b667ac2542593170993504932eb836",
"sha256": "0d643wp3l77hv2pmg2fi7vyxn4rwy0iyr8djcw1h5x72315ck9ik"
"rev": "73247c5ab2bc2037d7dd0d310f1fb43ed191edad",
"sha256": "1213j2gvsmzmhpyi2jyn729s9d0gbn56k3d873iknd5ilb2rvpcr"
Copy link
Member

Choose a reason for hiding this comment

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

What channel is that from? It doesn't look like it's 22.05 anymore. Would 22.11 suffice (as being updated here), or does it have to be more recent? If so, could you update the branch field accordingly?

Comment on lines 46 to 47
+ rust_toolchain_cargo_template (str, optional): The template to use for finding the host `cargo` binary.
+ rust_toolchain_rustc_template (str, optional): The template to use for finding the host `rustc` binary.
Copy link
Member

Choose a reason for hiding this comment

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

why remove those from the patch?

Copy link
Member Author

Choose a reason for hiding this comment

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

This was not intentional. The idea was to get it working, this patch being for internal use, not to be included upstream. I'm going to restore this and add the lines in another place where the API is also extended (cargo_bazel_bootstrap, which did not have such lines in the old patch).

Update `rules_rust` to 0.17.0.
Copy link
Member

@aherrmann aherrmann 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!

@mrkkrp mrkkrp merged commit dfdc4c7 into master Feb 2, 2023
@mrkkrp mrkkrp deleted the rust-toolchain-update branch February 2, 2023 15:38
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.

2 participants