Skip to content

fail(...) if both crate and crate_root attrs are specified on rust_test#3622

Merged
krasimirgg merged 4 commits intobazelbuild:mainfrom
bmoxb:attrs_conflict
Sep 23, 2025
Merged

fail(...) if both crate and crate_root attrs are specified on rust_test#3622
krasimirgg merged 4 commits intobazelbuild:mainfrom
bmoxb:attrs_conflict

Conversation

@bmoxb
Copy link
Copy Markdown
Contributor

@bmoxb bmoxb commented Sep 17, 2025

Conceptually, it doesn't really make sense for a rust_test to have both a crate and crate_root specified, plus for compilation purposes the crate root of the library target specified by crate is inherited anyway.

Comment thread rust/private/rust.bzl Outdated
@krasimirgg krasimirgg added this pull request to the merge queue Sep 23, 2025
Merged via the queue into bazelbuild:main with commit 069565d Sep 23, 2025
3 checks passed
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