Port the mozwer-rust crate to windows-sys
Categories
(Toolkit :: Crash Reporting, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: gsvelto, Assigned: afranchuk)
References
Details
Attachments
(1 file)
mozwer-rust was written using winapi plus a few hand-rolled bindings, time to move it to windows-sys.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
This exchanges winapi
functions/types for equivalent windows-sys
ones. Some basic types (e.g.
PBOOL
) don't exist in windows-sys
, and I added type
items for them (though those could be
removed and the types inlined; that's what windows-sys
does itself).
The psapi
library needed to be added for GetModuleFileNameExW; I guess previously winapi
was
linking it?
Almost all manual definitions of types (winapi::ENUM!
and winapi::STRUCT!
) were no longer needed
because windows-sys
has them. Only the version of RTL_USER_PROCESS_PARAMETERS
with undocumented
fields was still needed.
Reporter | ||
Comment 2•1 year ago
|
||
I think we're good to land here, right?
Assignee | ||
Comment 3•1 year ago
|
||
Just a rebase is needed, I'll do it shortly.
Comment 5•1 year ago
|
||
bugherder |
Description
•