Closed Bug 1897029 Opened 5 months ago Closed 5 months ago

[rust 1.80] error: unexpected `cfg` condition name: `stdsimd_split`

Categories

(Core :: Graphics: Color Management, defect)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

[task 2024-05-15T23:12:55.308Z] 23:12:55    ERROR -  error: unexpected `cfg` condition name: `stdsimd_split`
[task 2024-05-15T23:12:55.308Z] 23:12:55     INFO -    --> gfx/qcms/src/lib.rs:10:17
[task 2024-05-15T23:12:55.308Z] 23:12:55     INFO -     |
[task 2024-05-15T23:12:55.308Z] 23:12:55     INFO -  10 | #![cfg_attr(all(stdsimd_split, target_arch = "arm", feature = "neon"), feature(stdarch_arm_neon_intrinsics))]
[task 2024-05-15T23:12:55.308Z] 23:12:55     INFO -     |                 ^^^^^^^^^^^^^
[task 2024-05-15T23:12:55.308Z] 23:12:55     INFO -     |
[task 2024-05-15T23:12:55.309Z] 23:12:55     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`, `windows`
[task 2024-05-15T23:12:55.309Z] 23:12:55     INFO -     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(stdsimd_split)");` to the top of the `build.rs`
[task 2024-05-15T23:12:55.309Z] 23:12:55     INFO -     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[task 2024-05-15T23:12:55.309Z] 23:12:55     INFO -     = note: `-D unexpected-cfgs` implied by `-D warnings`
[task 2024-05-15T23:12:55.309Z] 23:12:55     INFO -     = help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
[task 2024-05-15T23:12:55.310Z] 23:12:55    ERROR -  error: unexpected `cfg` condition name: `stdsimd_split`
[task 2024-05-15T23:12:55.310Z] 23:12:55     INFO -    --> gfx/qcms/src/lib.rs:11:17
[task 2024-05-15T23:12:55.310Z] 23:12:55     INFO -     |
[task 2024-05-15T23:12:55.310Z] 23:12:55     INFO -  11 | #![cfg_attr(all(stdsimd_split, target_arch = "arm", feature = "neon"), feature(stdarch_arm_feature_detection))]
[task 2024-05-15T23:12:55.310Z] 23:12:55     INFO -     |                 ^^^^^^^^^^^^^
[task 2024-05-15T23:12:55.310Z] 23:12:55     INFO -     |
[task 2024-05-15T23:12:55.311Z] 23:12:55     INFO -     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(stdsimd_split)");` to the top of the `build.rs`
[task 2024-05-15T23:12:55.311Z] 23:12:55     INFO -     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[task 2024-05-15T23:12:55.311Z] 23:12:55    ERROR -  error: unexpected `cfg` condition name: `stdsimd_split`
[task 2024-05-15T23:12:55.311Z] 23:12:55     INFO -    --> gfx/qcms/src/lib.rs:12:21
[task 2024-05-15T23:12:55.311Z] 23:12:55     INFO -     |
[task 2024-05-15T23:12:55.311Z] 23:12:55     INFO -  12 | #![cfg_attr(all(not(stdsimd_split), target_arch = "arm", feature = "neon"), feature(stdsimd))]
[task 2024-05-15T23:12:55.311Z] 23:12:55     INFO -     |                     ^^^^^^^^^^^^^
[task 2024-05-15T23:12:55.312Z] 23:12:55     INFO -     |
[task 2024-05-15T23:12:55.312Z] 23:12:55     INFO -     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(stdsimd_split)");` to the top of the `build.rs`
[task 2024-05-15T23:12:55.312Z] 23:12:55     INFO -     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[task 2024-05-15T23:12:55.312Z] 23:12:55    ERROR -  error: could not compile `qcms` (lib) due to 3 previous errors
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/55e452b497ad Add rustc-check-cfg to qcms for rustc 1.80. r=gfx-reviewers,jrmuizel
Status: NEW → 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: