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

Use absolute path with "-fsanitize-ignorelist" #2911

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

vitalybuka
Copy link
Contributor

Also generalize _pwd_flags. Flags can use both, " " and "=" as argument separators.

Also generalize `_pwd_flags`. Flags can use both, " " and
"=" as argument separators.
@krasimirgg krasimirgg self-requested a review October 2, 2024 10:57
@krasimirgg krasimirgg enabled auto-merge October 2, 2024 10:58
Copy link
Collaborator

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

@krasimirgg krasimirgg added this pull request to the merge queue Oct 2, 2024
Merged via the queue into bazelbuild:main with commit 9594fa7 Oct 2, 2024
4 checks passed
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.52.0](https://github.com/bazelbuild/rules_rust/releases/tag/0.52.0)

### 0.52.0

#### Bzlmod

```python
bazel_dep(name = "rules_rust", version = "0.52.0")
```

#### WORKSPACE

```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-eTHntUQQe2ICm/L8cuefnXdSOtZQ1ELZPD/M6a1ewes=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.0/rules_rust-v0.52.0.tar.gz"],
)
```

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

-   Allowlist more clang flags in bindgen by [@hlopko](https://github.com/hlopko) in bazelbuild/rules_rust#2902
-   Allow `+` in repo names by [@fmeum](https://github.com/fmeum) in bazelbuild/rules_rust#2908
-   Added utility for parsing action Args param files by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2897
-   Updated platform triple mapping to support T3 platforms without `std`. by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2899
-   Fix `override_targets` keys in docs by [@max-heller](https://github.com/max-heller) in bazelbuild/rules_rust#2905
-   Use absolute path with "-fsanitize-ignorelist" by [@vitalybuka](https://github.com/vitalybuka) in bazelbuild/rules_rust#2911
-   Fix platform validation for wasm32-wasip1 target by [@c16a](https://github.com/c16a) in bazelbuild/rules_rust#2894
-   Update `cargo_build_script` to always render custom runfiles dirs. by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2891
-   Check target tags before ignore tags for lint/fmt aspects by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2913
-   Get rolling releases CI green by [@illicitonion](https://github.com/illicitonion) in bazelbuild/rules_rust#2916
-   Avoid uses of shell to improve Windows tests by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2912
-   Prep release 0.52.0 by [@illicitonion](https://github.com/illicitonion) in bazelbuild/rules_rust#2910

#### New Contributors

-   [@fmeum](https://github.com/fmeum) made their first contribution in bazelbuild/rules_rust#2908
-   [@max-heller](https://github.com/max-heller) made their first contribution in bazelbuild/rules_rust#2905
-   [@vitalybuka](https://github.com/vitalybuka) made their first contribution in bazelbuild/rules_rust#2911
-   [@c16a](https://github.com/c16a) made their first contribution in bazelbuild/rules_rust#2894

**Full Changelog**: bazelbuild/rules_rust@0.51.0...0.52.0
github-merge-queue bot pushed a commit to zemn-me/monorepo that referenced this pull request Oct 4, 2024
##### [`v0.52.0](https://github.com/bazelbuild/rules_rust/releases/tag/0.52.0)

### 0.52.0

#### Bzlmod

```python
bazel_dep(name = "rules_rust", version = "0.52.0")
```

#### WORKSPACE

```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-eTHntUQQe2ICm/L8cuefnXdSOtZQ1ELZPD/M6a1ewes=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.0/rules_rust-v0.52.0.tar.gz"],
)
```

Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

-   Allowlist more clang flags in bindgen by [@hlopko](https://github.com/hlopko) in bazelbuild/rules_rust#2902
-   Allow `+` in repo names by [@fmeum](https://github.com/fmeum) in bazelbuild/rules_rust#2908
-   Added utility for parsing action Args param files by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2897
-   Updated platform triple mapping to support T3 platforms without `std`. by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2899
-   Fix `override_targets` keys in docs by [@max-heller](https://github.com/max-heller) in bazelbuild/rules_rust#2905
-   Use absolute path with "-fsanitize-ignorelist" by [@vitalybuka](https://github.com/vitalybuka) in bazelbuild/rules_rust#2911
-   Fix platform validation for wasm32-wasip1 target by [@c16a](https://github.com/c16a) in bazelbuild/rules_rust#2894
-   Update `cargo_build_script` to always render custom runfiles dirs. by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2891
-   Check target tags before ignore tags for lint/fmt aspects by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2913
-   Get rolling releases CI green by [@illicitonion](https://github.com/illicitonion) in bazelbuild/rules_rust#2916
-   Avoid uses of shell to improve Windows tests by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2912
-   Prep release 0.52.0 by [@illicitonion](https://github.com/illicitonion) in bazelbuild/rules_rust#2910

#### New Contributors

-   [@fmeum](https://github.com/fmeum) made their first contribution in bazelbuild/rules_rust#2908
-   [@max-heller](https://github.com/max-heller) made their first contribution in bazelbuild/rules_rust#2905
-   [@vitalybuka](https://github.com/vitalybuka) made their first contribution in bazelbuild/rules_rust#2911
-   [@c16a](https://github.com/c16a) made their first contribution in bazelbuild/rules_rust#2894

**Full Changelog**: bazelbuild/rules_rust@0.51.0...0.52.0
marvin-hansen added a commit to marvin-hansen/fork_rules_rust that referenced this pull request Oct 6, 2024
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 6, 2024
`is_absolute` was lost for "=" case in bazelbuild#2911

Fixes  bazelbuild#2917
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 6, 2024
`is_absolute` was lost for "=" case in bazelbuild#2911

Fixes  bazelbuild#2917
github-merge-queue bot pushed a commit that referenced this pull request Oct 7, 2024
`is_absolute` was lost for "=" case in #2911

Fixes  #2917
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 7, 2024
UebelAndre added a commit to UebelAndre/rules_rust that referenced this pull request Oct 7, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 7, 2024
Revert "Restore lost "is_absolute" (#2922)"

This reverts commit 2a85e13.

Revert "Use absolute path with "-fsanitize-ignorelist" (#2911)"

This reverts commit 9594fa7.
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Oct 7, 2024
##### [`v0.52.2](https://github.com/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://github.com/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://github.com/vitalybuka) in bazelbuild/rules_rust#2922
-   Revert [#2911](bazelbuild/rules_rust#2911) and [#2922](bazelbuild/rules_rust#2922) by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2925

**Full Changelog**: bazelbuild/rules_rust@0.52.1...0.52.2
github-merge-queue bot pushed a commit to zemn-me/monorepo that referenced this pull request Oct 8, 2024
##### [`v0.52.2](https://github.com/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://github.com/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://github.com/vitalybuka) in bazelbuild/rules_rust#2922
-   Revert [#2911](bazelbuild/rules_rust#2911) and [#2922](bazelbuild/rules_rust#2922) by [@UebelAndre](https://github.com/UebelAndre) in bazelbuild/rules_rust#2925

**Full Changelog**: bazelbuild/rules_rust@0.52.1...0.52.2
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 14, 2024
This is trivial copy/paste implementation, to
minimize regression probability.

Previously it was combined with refactoring, but
introduced regression and was reverted bazelbuild#2911.

This time I split refactoring into follow up PR.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 14, 2024
Existing test passes with bazelbuild#2911 and bazelbuild#2922.
However even bazelbuild#2922 was breaking something.
I suspect case like this is the cause.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 15, 2024
Existing test passes with bazelbuild#2911 and bazelbuild#2922.
However even bazelbuild#2922 was breaking something.
I suspect case like this is the cause.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 15, 2024
This is trivial copy/paste implementation, to
minimize regression probability.

Previously it was combined with refactoring, but
introduced regression and was reverted bazelbuild#2911.

This time I split refactoring into follow up PR.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 16, 2024
This is trivial copy/paste implementation, to
minimize regression probability.

Previously it was combined with refactoring, but
introduced regression and was reverted bazelbuild#2911.

This time I split refactoring into follow up PR.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 16, 2024
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 16, 2024
This is trivial copy/paste implementation, to
minimize regression probability.

Previously it was combined with refactoring, but
introduced regression and was reverted bazelbuild#2911.

This time I split refactoring into follow up PR.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 16, 2024
Existing test passes with bazelbuild#2911 and bazelbuild#2922.
However even bazelbuild#2922 was breaking something.
I suspect case like this is the cause.
github-merge-queue bot pushed a commit that referenced this pull request Oct 17, 2024
This is trivial copy/paste implementation, to
minimize regression probability.

Previously it was combined with refactoring, but
introduced regression and was reverted #2911.

This time I split refactoring into follow up PR.
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 17, 2024
Existing test passes with bazelbuild#2911 and bazelbuild#2922.
However even bazelbuild#2922 was breaking something.
I suspect case like this is the cause.
github-merge-queue bot pushed a commit that referenced this pull request Oct 17, 2024
#2931 added tests for _pwd_flags, however 
the test as-is passes with #2911 and #2922,
which still caused problems and reverted.
Here I introduce a test case for likely
unfixed in reverted #2925.

The test needs strictter check for cflags. As-ls
`flag in cflags` is a just substring search and
very weak test for abs path.

For #2917
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 21, 2024
vitalybuka added a commit to vitalybuka/rules_rust that referenced this pull request Oct 21, 2024
This reverts bazelbuild#2925 to reland bazelbuild#2911 and bazelbuild#2922,
with required fix, the second patch in the PR.
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