vendor nimbus rust sdk into m-c
Categories
(Firefox :: Nimbus Desktop Client, task)
Tracking
()
People
(Reporter: dmose, Assigned: dmose)
References
Details
Attachments
(5 files, 16 obsolete files)
This bug is for vendoring the rust nimbus build into mozilla-central. I've filed it now so that Andrei and I can easily use phab to share work.
It's related to https://jira.mozilla.com/browse/EXP-419 among other things.
Stuff that we know we still need to do:
- fix uniffi template to emit C++ bindings that build without DEBUG
- figure out if uniffi Cargo.toml should switch from
license_filetolicenseor whether the build allow list needs to be a bit more liberal - move SDK build glue patch after artifact landing patch so that bisecting works
- handle upstream dependency files that are too big (PRs, or make exceptions locally)
- split apart (at least) updating existing dependencies from addition of new dependencies into PRs that are at least reviewable if not ideally bisectable
- check dependency version pins and make sure they're up-to-date
- remove built_bindgen as suggested by eoger (he says it was a hack)
- make Nimbus not crash in constructor if called from wrong thread
Later (maybe):
- figure out threading/IO model for gecko_js
** Kate points out that our model may want to take existing preferences idioms into account if we can make migration of existing experimenting infra less painful (eg static pref stuff).
** maybe consider what glean does (ideally), or telemetry (possibly necessarily pragmatically)
** eventually will need to be able to get some cached experiment values quickly early in startup (talk to Kate)
** (maybe later) generate webidl artifacts at build time rather than checking them in
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•8 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 3•8 months ago
|
||
Depends on D92172
| Assignee | ||
Comment 4•8 months ago
|
||
Depends on D92296
| Assignee | ||
Comment 5•8 months ago
|
||
Depends on D92296
| Assignee | ||
Comment 6•8 months ago
|
||
Depends on D92537
| Assignee | ||
Comment 7•8 months ago
|
||
Depends on D92538
Updated•8 months ago
|
Updated•8 months ago
|
| Assignee | ||
Comment 8•8 months ago
|
||
| Assignee | ||
Comment 9•8 months ago
|
||
Depends on D93448
| Assignee | ||
Comment 10•8 months ago
|
||
Depends on D93449
| Assignee | ||
Comment 11•8 months ago
|
||
Depends on D93450
| Assignee | ||
Comment 12•8 months ago
|
||
Depends on D93452
| Assignee | ||
Comment 13•8 months ago
|
||
Depends on D93453
Updated•8 months ago
|
Updated•8 months ago
|
| Assignee | ||
Comment 14•8 months ago
|
||
For reasons not worth going into the revisions in this bug are all out of order. The top (parent) revision is https://phabricator.services.mozilla.com/D93448 and the rest are children of it.
| Assignee | ||
Comment 15•7 months ago
|
||
Depends on D93450
| Assignee | ||
Comment 16•7 months ago
|
||
Depends on D94411
| Assignee | ||
Comment 17•7 months ago
|
||
Depends on D94412
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 18•7 months ago
|
||
| Assignee | ||
Comment 19•7 months ago
|
||
Depends on D95389
| Assignee | ||
Comment 20•7 months ago
|
||
Depends on D93450
| Assignee | ||
Comment 21•7 months ago
|
||
Depends on D94412
| Assignee | ||
Comment 22•7 months ago
|
||
Depends on D92539
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 23•7 months ago
|
||
Just an FYI, when one needs to generate the Nimbus artifacts using UniFFI, here's how:
cd uniffi-rs
# pull the uniffi PR locally; then do this:
cargo clean
cargo build
cd uniffi_bindgen
cargo run -- generate ../../nimbus-sdk/nimbus/src/nimbus.idl -l gecko_js -o ../../mozilla-central/toolkit/components/nimbus
Updated•7 months ago
|
Description
•