Closed Bug 1483528 Opened 7 years ago Closed 5 years ago

Don't generate super long lines in the generated file structs.rs

Categories

(Webtools Graveyard :: DXR, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jwatt, Unassigned)

Details

There are some really long lines in the generated file structs.rs which makes it hard to read and understand. It would be helpful if we could have the generator insert line breaks to stop this from happening, or even better, run rustfmt on the file.
Priority: -- → P3
If you have rustfmt installed it should be formatted automatically, is that not happening?
Flags: needinfo?(jwatt)
I encountered this while using DXR. I see that searchfox doesn't have this problem, so I guess DXR needs to be fixed up? Erik, any chance of that happening?
Flags: needinfo?(jwatt) → needinfo?(erik)
Maybe the DXR build machine doesn't have rustfmt installed.
Component: CSS Parsing and Computation → DXR
Product: Core → Webtools
Version: unspecified → other
Nobody is maintaining DXR at the moment; sorry to say, it's in organizational limbo until somebody decides to resource it. :-( The rust analysis bits need especial help, as they're a naive implementation that tends to soak up all the memory on the build box.
Flags: needinfo?(erik)

DXR is no longer available. Searchfox is now replacing it.
See meta bug 1669906 & https://groups.google.com/g/mozilla.dev.platform/c/jDRjrq3l-CY for more details.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.