EWS: Disable "gethostname" feature in mail-builder (ews_xpcom dependency)
Categories
(Thunderbird :: General, defect)
Tracking
(thunderbird_esr128+ affected, thunderbird131 fixed)
People
(Reporter: rjl, Assigned: rjl)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-beta+
|
Details | Review |
ews_xpcom -> mail-builder -> gethostname (optional) -> windows-targets 0.48
The issue is with windows-targets depending rather large binary blobs. For version 0.52, Firefox has a workaround to avoid vendoring those dependencies. However, gethostname depends on an older version so they end up getting pulled in by cargo vendor anyway.
ews_xpcom's use of mail-builder doesn't require gethostname, so the idea is to disable the (default) gethostname feature and avoid pulling in the older windows-targets and its dependencies.
| Assignee | ||
Comment 1•1 year ago
|
||
Avoids pulling in the binary windows-target dependencies.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by benc@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/9761f3c1173f
Disable "gethostname" feature of mail-builder crate. r=ikey
Comment 3•1 year ago
|
||
Comment on attachment 9423032 [details]
Bug 1917090 - Disable "gethostname" feature of mail-builder crate. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
Comment on attachment 9423032 [details]
Bug 1917090 - Disable "gethostname" feature of mail-builder crate. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #): 1895317
User impact if declined: Zero to none. The gethostname crate code should be getting dropped by the linker since it's never actually called by our code. (ews_xpcom)
Testing completed (on c-c, etc.): nightly, going to beta
Risk to taking this patch (and alternatives if risky):
I'd call this low risk. EWS is disabled by pref in 128, but still built. Even so, the above does still apply.
Comment 5•1 year ago
|
||
| bugherder uplift | ||
Thunderbird 131.0b4:
https://hg.mozilla.org/releases/comm-beta/rev/c919910f7f1f
Comment 6•1 year ago
|
||
Comment on attachment 9423032 [details]
Bug 1917090 - Disable "gethostname" feature of mail-builder crate. r=#thunderbird-reviewers
[Triage Comment]
Approved for esr128
Comment 7•1 year ago
|
||
This does not want to merge into 128 cleanly. I think we need a 128-specific patch.
| Assignee | ||
Comment 8•1 year ago
|
||
Comment on attachment 9423032 [details]
Bug 1917090 - Disable "gethostname" feature of mail-builder crate. r=#thunderbird-reviewers
Withdrawing c-esr128 for now.
Description
•