Closed Bug 1901911 Opened 5 months ago Closed 4 months ago

[rustc 1.80] Perma error: unexpected `cfg` condition name: `linking_with_gecko`

Categories

(Core :: CSS Parsing and Computation, defect, P5)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=461944839&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M7qpFoxmRl26IscfO2mt6w/runs/0/artifacts/public/logs/live_backing.log


[task 2024-06-12T01:09:41.963Z] 01:09:41    ERROR -  error: unexpected `cfg` condition name: `linking_with_gecko`
[task 2024-06-12T01:09:41.963Z] 01:09:41     INFO -    --> servo/ports/geckolib/tests/lib.rs:12:12
[task 2024-06-12T01:09:41.963Z] 01:09:41     INFO -     |
[task 2024-06-12T01:09:41.963Z] 01:09:41     INFO -  12 | #![cfg(any(linking_with_gecko, not(windows)))]
[task 2024-06-12T01:09:41.963Z] 01:09:41     INFO -     |            ^^^^^^^^^^^^^^^^^^
[task 2024-06-12T01:09:41.963Z] 01:09:41     INFO -     |
[task 2024-06-12T01:09:41.964Z] 01:09:41     INFO -     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[task 2024-06-12T01:09:41.964Z] 01:09:41     INFO -     = help: consider using a Cargo feature instead
[task 2024-06-12T01:09:41.964Z] 01:09:41     INFO -     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[task 2024-06-12T01:09:41.964Z] 01:09:41     INFO -              [lints.rust]
[task 2024-06-12T01:09:41.964Z] 01:09:41     INFO -              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linking_with_gecko)'] }
[task 2024-06-12T01:09:41.965Z] 01:09:41     INFO -     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linking_with_gecko)");` to the top of the `build.rs`
[task 2024-06-12T01:09:41.965Z] 01:09:41     INFO -     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[task 2024-06-12T01:09:41.965Z] 01:09:41     INFO -     = note: `-D unexpected-cfgs` implied by `-D warnings`
[task 2024-06-12T01:09:41.965Z] 01:09:41     INFO -     = help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
[task 2024-06-12T01:09:41.965Z] 01:09:41    ERROR -  error: could not compile `stylo_tests` (lib test) due to 1 previous error
Blocks: rustc-1.80
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Summary: Perma error: unexpected `cfg` condition name: `linking_with_gecko` → [rustc 1.80] Perma error: unexpected `cfg` condition name: `linking_with_gecko`
Flags: needinfo?(mh+mozilla)
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: