Open
Bug 1489995
Opened 6 years ago
Updated 2 years ago
Investigate removing the lresolv hack for Rust builds on MacOS
Categories
(Firefox Build System :: General, enhancement, P2)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: bbouvier, Assigned: glandium)
Details
From bug 1469027 comment 24:
> ::: js/src/gdb/moz.build
> @@ +46,5 @@
> > +
> > +# The Rust standard library references libresolv on macOS, so we need to link
> > +# it as a workaround. See also bug 1367932.
> > +if CONFIG['OS_ARCH'] == 'Darwin':
> > + OS_LIBS += ['-lresolv']
>
> I don't think you have to fix this here, but maybe we should just start linking
> in dependencies for Rust libraries in the build system itself,
> rather than scattering this stanza around in a bunch of different places.
> Please file a followup bug?
We do have this hack in a few moz.build files under js/, at least.
Assignee | ||
Updated•3 years ago
|
Priority: P4 → P1
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Comment 2•3 years ago
|
||
One complication, 3 years later, is that now one crate also prints out dependency info for nss, but cargo won't give out the info about the paths, so the whole thing fails because nss can't be found.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•