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)
Tracking
()
| 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))
| Reporter | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
Description
•