Closed
Bug 1373317
Opened 7 years ago
Closed 7 years ago
stylo: Bindgen upgrade busted mac builds due to prepended underscore
Categories
(Firefox Build System :: General, enhancement, P1)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bholley, Assigned: emilio)
References
Details
After a recent pull, mac won't link: https://gist.github.com/bholley/d0c35f1cad08efe0c8fa75c40ba6ac91
This is because bindings now include:
extern "C" {
#[link_name = "_Gecko_MaybeCreateStyleChildrenIterator"]
pub fn Gecko_MaybeCreateStyleChildrenIterator(node: RawGeckoNodeBorrowed)
-> StyleChildrenIteratorOwnedOrNull;
}
Where there was previously no link_name specified.
I suspect https://github.com/servo/rust-bindgen/pull/729 , which landed in a bindgen update recently.
As a hacky workaround, you can do:
perl -ni.bak -e 'print unless /link_name/' PATH/TO/GENERATED/bindings.rs
But this obviously needs to be redone every time gecko headers change, which isn't great. We should fix this as soon as possible.
Reporter | ||
Updated•7 years ago
|
Priority: -- → P1
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(nfitzgerald)
Flags: needinfo?(emilio+bugs)
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → emilio+bugs
Flags: needinfo?(nfitzgerald)
Flags: needinfo?(emilio+bugs)
Updated•7 years ago
|
Assignee | ||
Comment 2•7 years ago
|
||
Both landed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•