vendor nimbus rust sdk into m-c
Categories
(Firefox :: Nimbus Desktop Client, task)
Tracking
()
People
(Reporter: dmosedale, Assigned: dmosedale)
References
Details
Attachments
(21 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_file
tolicense
or 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•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D92172
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D92296
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D92296
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D92537
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D92538
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Assignee | ||
Comment 9•4 years ago
|
||
Depends on D93448
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D93449
Assignee | ||
Comment 11•4 years ago
|
||
Depends on D93450
Assignee | ||
Comment 12•4 years ago
|
||
Depends on D93452
Assignee | ||
Comment 13•4 years ago
|
||
Depends on D93453
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 14•4 years 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•4 years ago
|
||
Depends on D93450
Assignee | ||
Comment 16•4 years ago
|
||
Depends on D94411
Assignee | ||
Comment 17•4 years ago
|
||
Depends on D94412
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 18•4 years ago
|
||
Assignee | ||
Comment 19•4 years ago
|
||
Depends on D95389
Assignee | ||
Comment 20•4 years ago
|
||
Depends on D93450
Assignee | ||
Comment 21•4 years ago
|
||
Depends on D94412
Assignee | ||
Comment 22•4 years ago
|
||
Depends on D92539
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 23•4 years 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•4 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 24•2 years ago
|
||
This is obsolete; there is a different strategy now.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•