Bug 1732341 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

https://github.com/mozilla/uniffi-rs is a new tool to provide bindings between rust implementations and the various Firefox native platforms.  From the docs at https://mozilla.github.io/uniffi-rs/ it looks like that on desktop it produces XPCOM bindings that searchfox should already understand, but it likely would be useful to have a first-class understanding of UniFFI IDL so that people don't need to click through the binding/glue layer and that things could potentially work across all platforms.
https://github.com/mozilla/uniffi-rs is a new tool to provide bindings between rust implementations and the various Firefox native platforms.  From the docs at https://mozilla.github.io/uniffi-rs/ it looks like that on desktop it produces XPCOM bindings that searchfox should already understand, but it likely would be useful to have a first-class understanding of UniFFI IDL so that people don't need to click through the binding/glue layer and that things could potentially work across all platforms.

Update: From discussion, it seems like there's a proposal to potentially replace the IDL with rust annotations at https://github.com/mozilla/uniffi-rs/issues/385 but this would still likely require searchfox to understand those annotations at some level.  (Ideally the UniFFI tooling would generate the semantic JSON searchfox would want to consume, etc.)

Back to Bug 1732341 Comment 0