Closed Bug 1895501 Opened 6 months ago Closed 5 months ago

[rustc 1.80] error: unexpected `cfg` condition name: `mock`

Categories

(Toolkit :: Crash Reporting, defect)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: afranchuk, Assigned: afranchuk)

References

()

Details

Attachments

(1 file, 1 obsolete file)

I know that some code I recently wrote uses cargo::rustc-cfg, and I saw that there are a few other instances in our codebase. These now need an accompanying cargo::rustc-check-cfg.

Type: task → defect
Component: General → Crash Reporting
Product: Firefox Build System → Toolkit
Summary: Update rust sources to include rust-check-cfg head of rustc 1.80 → [rustc 1.80] error: unexpected `cfg` condition name: `mock`
Attachment #9402108 - Attachment is obsolete: true
Attachment #9400465 - Attachment description: Bug 1895501 - Add accompanying rustc-check-cfg for rustc-cfg statements r=#firefox-build-system-reviewers → Bug 1895501 - Add rust-check-cfg for the mock cfg.
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/19377bb6d806 Add rust-check-cfg for the mock cfg. r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: