-
Notifications
You must be signed in to change notification settings - Fork 424
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
Restore lost "is_absolute" #2922
Conversation
`is_absolute` was lost for "=" case in bazelbuild#2911 Fixes bazelbuild#2917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Don’t mean to burden you after dealing with the regression but Is this something that can be regression tested?
I am not sure how to do that in reasonable way. Looks like there is no a single test which fail if I "return []" from _pwd_flags. I am very new to this code, could you please suggest which test could be the likely example for requested test? |
Follow up to bazelbuild#2922. Before bazelbuild#2922 the only possible "else" with "opt" was space separated flags. Now we get there for already `is_absolute` path.
This reverts commit 2a85e13.
##### [`v0.52.2](https:/bazelbuild/rules_rust/releases/tag/0.52.2) ### 0.52.2 #### Bzlmod ```python bazel_dep(name = "rules_rust", version = "0.52.2") ``` #### WORKSPACE ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-Zx3bP+Xrz53TTQUeynNS+68z+lO/Ye7Qt1pMNIKeVIA=", urls = ["https:/bazelbuild/rules_rust/releases/download/0.52.2/rules_rust-v0.52.2.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Restore lost "is_absolute" by [@vitalybuka](https:/vitalybuka) in bazelbuild/rules_rust#2922 - Revert [#2911](bazelbuild/rules_rust#2911) and [#2922](bazelbuild/rules_rust#2922) by [@UebelAndre](https:/UebelAndre) in bazelbuild/rules_rust#2925 **Full Changelog**: bazelbuild/rules_rust@0.52.1...0.52.2
##### [`v0.52.2](https:/bazelbuild/rules_rust/releases/tag/0.52.2) ### 0.52.2 #### Bzlmod ```python bazel_dep(name = "rules_rust", version = "0.52.2") ``` #### WORKSPACE ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-Zx3bP+Xrz53TTQUeynNS+68z+lO/Ye7Qt1pMNIKeVIA=", urls = ["https:/bazelbuild/rules_rust/releases/download/0.52.2/rules_rust-v0.52.2.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Restore lost "is_absolute" by [@vitalybuka](https:/vitalybuka) in bazelbuild/rules_rust#2922 - Revert [#2911](bazelbuild/rules_rust#2911) and [#2922](bazelbuild/rules_rust#2922) by [@UebelAndre](https:/UebelAndre) in bazelbuild/rules_rust#2925 **Full Changelog**: bazelbuild/rules_rust@0.52.1...0.52.2
is_absolute
was lost for "=" case in #2911Fixes #2917