[rust] Cover `rustc_nightly_capability` via `buildflag_header`. [chromium/src : main]

0 views
Skip to first unread message

Łukasz Anforowicz (Gerrit)

unread,
2:13 PM (9 hours ago) 2:13 PM
to Daniel Cheng, Milad Farazmand, chromium...@chromium.org
Attention needed from Daniel Cheng

Łukasz Anforowicz voted and added 1 comment

Votes added by Łukasz Anforowicz

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Łukasz Anforowicz . resolved

@dcheng, can you PTAL? /cc @mfarazma - this is a follow-up to the comment left at https://chromium-review.googlesource.com/c/chromium/src/+/7050763/8#message-97d1f8c87b95752277b9179b102a9a08f4dc5401

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Cheng
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
Gerrit-Change-Number: 7465178
Gerrit-PatchSet: 1
Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
Gerrit-CC: Milad Farazmand <mfar...@ibm.com>
Gerrit-Attention: Daniel Cheng <dch...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Jan 2026 19:13:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Daniel Cheng (Gerrit)

unread,
5:12 PM (6 hours ago) 5:12 PM
to Łukasz Anforowicz, Daniel Cheng, Milad Farazmand, chromium...@chromium.org
Attention needed from Łukasz Anforowicz

Daniel Cheng voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Łukasz Anforowicz
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Gerrit-Change-Number: 7465178
    Gerrit-PatchSet: 1
    Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-CC: Milad Farazmand <mfar...@ibm.com>
    Gerrit-Attention: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 22:12:38 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Milad Farazmand (Gerrit)

    unread,
    6:03 PM (5 hours ago) 6:03 PM
    to Łukasz Anforowicz, Chromium LUCI CQ, Daniel Cheng, chromium...@chromium.org
    Attention needed from Łukasz Anforowicz

    Milad Farazmand added 1 comment

    Patchset-level comments
    Łukasz Anforowicz . resolved

    @dcheng, can you PTAL? /cc @mfarazma - this is a follow-up to the comment left at https://chromium-review.googlesource.com/c/chromium/src/+/7050763/8#message-97d1f8c87b95752277b9179b102a9a08f4dc5401

    Milad Farazmand

    Thank you for your help.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Łukasz Anforowicz
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Gerrit-Change-Number: 7465178
    Gerrit-PatchSet: 1
    Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-CC: Milad Farazmand <mfar...@ibm.com>
    Gerrit-Attention: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 23:03:27 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Łukasz Anforowicz <luk...@chromium.org>
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    6:24 PM (5 hours ago) 6:24 PM
    to Łukasz Anforowicz, Daniel Cheng, Milad Farazmand, chromium...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [rust] Cover `rustc_nightly_capability` via `buildflag_header`.

    https://crrev.com/c/7050763 accidentally removed `rustflags += [
    "--cfg=rust_allocator_no_nightly_capability" ]` without replacing it
    with a `buildflag_header` equivalent. This CL fixes this.
    Bug: 448742518
    Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Reviewed-by: Daniel Cheng <dch...@chromium.org>
    Commit-Queue: Daniel Cheng <dch...@chromium.org>
    Auto-Submit: Łukasz Anforowicz <luk...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1568763}
    Files:
    • M build/rust/allocator/BUILD.gn
    • M build/rust/allocator/lib.rs
    Change size: XS
    Delta: 2 files changed, 3 insertions(+), 2 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Daniel Cheng
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Gerrit-Change-Number: 7465178
    Gerrit-PatchSet: 2
    Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
    open
    diffy
    satisfied_requirement

    luci-bisection@appspot.gserviceaccount.com (Gerrit)

    unread,
    6:39 PM (5 hours ago) 6:39 PM
    to Chromium LUCI CQ, Łukasz Anforowicz, Daniel Cheng, Milad Farazmand, chromium...@chromium.org

    Message from luci-bi...@appspot.gserviceaccount.com

    LUCI Bisection has identified this change as the culprit of a build failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/compile-analysis/b/8692747594532272513

    A revert for this change was not created because the builder that this CL broke is not watched by gardeners, therefore less important. You can consider revert this CL, fix forward or let builder owners resolve it themselves.

    Sample failed build: https://ci.chromium.org/b/8692747594532272513

    If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F7465178&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Fcompile-analysis%2Fb%2F8692747594532272513&type=BUG

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Gerrit-Change-Number: 7465178
    Gerrit-PatchSet: 2
    Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-CC: Milad Farazmand <mfar...@ibm.com>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 23:38:59 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    luci-bisection@appspot.gserviceaccount.com (Gerrit)

    unread,
    6:50 PM (4 hours ago) 6:50 PM
    to Chromium LUCI CQ, Łukasz Anforowicz, Daniel Cheng, Milad Farazmand, chromium...@chromium.org

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: revert
    satisfied_requirement
    open
    diffy

    Milad Farazmand (Gerrit)

    unread,
    9:09 PM (2 hours ago) 9:09 PM
    to Chromium LUCI CQ, Łukasz Anforowicz, luci-bi...@appspot.gserviceaccount.com, Daniel Cheng, chromium...@chromium.org

    Milad Farazmand added 1 comment

    Patchset-level comments
    File-level comment, Patchset 2 (Latest):
    Milad Farazmand . resolved

    Hi Łukasz,

    This CL was reverted but even applying it on a ppc64 machine still failed our builds. I thought maybe your condition was wrong and had to be negated with:
    ```
    "RUST_ALLOCATOR_NO_NIGHTLY_CAPABILITY=!$rustc_nightly_capability",
    ```
    But even this still failed our build. Is it possible to re add what was previously working for now since it takes time for it to propagate back to V8:
    https://chromium-review.googlesource.com/c/chromium/src/+/7467869

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Gerrit-Change-Number: 7465178
    Gerrit-PatchSet: 2
    Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-CC: Milad Farazmand <mfar...@ibm.com>
    Gerrit-Comment-Date: Wed, 14 Jan 2026 02:09:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    Milad Farazmand (Gerrit)

    unread,
    10:00 PM (1 hour ago) 10:00 PM
    to Chromium LUCI CQ, Łukasz Anforowicz, luci-bi...@appspot.gserviceaccount.com, Daniel Cheng, chromium...@chromium.org

    Milad Farazmand added 1 comment

    Patchset-level comments
    Milad Farazmand . resolved

    Hi Łukasz,

    This CL was reverted but even applying it on a ppc64 machine still failed our builds. I thought maybe your condition was wrong and had to be negated with:
    ```
    "RUST_ALLOCATOR_NO_NIGHTLY_CAPABILITY=!$rustc_nightly_capability",
    ```
    But even this still failed our build. Is it possible to re add what was previously working for now since it takes time for it to propagate back to V8:
    https://chromium-review.googlesource.com/c/chromium/src/+/7467869

    Milad Farazmand

    Actually I think I found what the issue was, you reject all the non-true flags with `if (_value == "true" || _value == "1") {` under `build/buildflag_header.gni` so I just changed the condition during `cfg` instead in the above CL, please take another look.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Iebab6b41bbc204a2c5a04395a3a0e3c5e53e096a
    Gerrit-Change-Number: 7465178
    Gerrit-PatchSet: 2
    Gerrit-Owner: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
    Gerrit-CC: Milad Farazmand <mfar...@ibm.com>
    Gerrit-Comment-Date: Wed, 14 Jan 2026 03:00:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Milad Farazmand <mfar...@ibm.com>
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages