Closed Bug 1878536 Opened 2 years ago Closed 2 years ago

rust-bindgen panics with "Non floating-type complex? Type(_Complex _Float16)" when compiling gecko-profiler as C++20 on Windows

Categories

(Core :: Gecko Profiler, task, P3)

Unspecified
Windows
task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: cpeterson, Assigned: emilio)

References

Details

Attachments

(1 external file)

@ Emilio, when compiled with -std=c++20 on Windows, gecko-profiler triggers the following panic in bindgen, which is fixed in upstream rust-bindgen versions > 0.69.2:

https://github.com/rust-lang/rust-bindgen/issues/2500
https://github.com/rust-lang/rust-bindgen/pull/2667

[gecko-profiler 0.1.0] thread 'main' panicked at /builds/worker/checkouts/gecko/third_party/rust/bindgen/ir/context.rs:2020:26:
[gecko-profiler 0.1.0] Non floating-type complex? Type(_Complex _Float16, kind: Complex, cconv: 100, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None)), Type(_Float16, kind: Float16, cconv: 100, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None))

Flags: needinfo?(emilio)
OS: Unspecified → Windows
Summary: rust-bindgen panics with "Non floating-type complex? Type(_Complex _Float16)" when compiling gecko-profiler as C++20 → rust-bindgen panics with "Non floating-type complex? Type(_Complex _Float16)" when compiling gecko-profiler as C++20 on Windows
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Assignee: emilio → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Blocks: 1878575
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f05e48d0a94 Update bindgen to 0.69.4. r=glandium,supply-chain-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: