Make `in_gecko` Cargo feature optional in moz-central
Categories
(Firefox Build System :: General, enhancement)
Tracking
(firefox143 fixed)
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: bdk, Assigned: bdk)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsync-])
Attachments
(1 file)
This feature makes it so we avoid linking our Rust libs/binaries against libsqlite (it doesn't link against either the vendored or system lib). This is what we want for a real build, since we eventually want to link against the libmozsqlite that exists in the install directory. However, this is not what we want for the tests and prevents them from being built.
Implementing this is an alternative to https://bugzilla.mozilla.org/show_bug.cgi?id=1958000, if we can make Cargo do the linking then we don't need to do anything special with mach rusttests.
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
This makes it possible to build Rust stuff that depends on rusqlite
and link to the vendored libsqlite. For example cargo test -p relevancy now works because of this. This will become more important
when we move the app-services code into moz-central.
Updated•9 months ago
|
Comment 3•8 months ago
|
||
| bugherder | ||
Description
•