Skip to content

Conversation

@roman-kashitsyn
Copy link
Contributor

Currently, rust_doc_test (unlike rust_test) doesn't support adding
extra test-only dependencies, which makes it unnecessarily hard to
migrate doc tests from Cargo to rules_rust.

This change extends the rust_doc_test rust to support extra
test-only dependencies.

Currently, `rust_doc_test` (unlike `rust_test`) doesn't support adding
extra test-only dependencies, which makes it unnecessarily hard to
migrate doc tests from Cargo to rules_rust.

This change extends the `rust_doc_test` rust to support extra
test-only dependencies.
I'm getting unnecessarily proficient in this.
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Looks good to me! Seems that buildifier needs to be run though.

@roman-kashitsyn
Copy link
Contributor Author

roman-kashitsyn commented Apr 23, 2022

Looks good to me! Seems that buildifier needs to be run though.

Thank you, @UebelAndre! I fixed the formatting. Could you please merge this change?

@UebelAndre UebelAndre merged commit 207ee4f into bazelbuild:main Apr 23, 2022
@roman-kashitsyn roman-kashitsyn deleted the roman-doctest-dep branch April 23, 2022 22:04
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