gecko-dev/docs/rust-components/uniffi-bindgen-gecko-js-dev-guide/index.md
Ben Dean-Kawamura f9b53c8833 Bug 1969457 - uniffi-bindgen-gecko-js doc updates, r=markh,bgruber
Added documents on how things work internally.

Also updated the "Developing Rust Components" section.  Added info on
threading issues and removed info covered by the internals docs.

Differential Revision: https://phabricator.services.mozilla.com/D252244
2025-06-18 22:40:40 +00:00

19 lines
997 B
Markdown

# uniffi-bindgen-gecko-js Developers Guide
This section describes the internal workings of `uniffi-bindgen-gecko-js` for developers working with this code.
It builds on the [UniFFI user guide](https://mozilla.github.io/uniffi-rs/latest/) internals documentation, which is recommended reading before diving into these specifics.
## UniFFI bindings pipeline
`uniffi-bindgen-gecko-js` uses the bindings pipeline ([docs](https://github.com/mozilla/uniffi-rs/blob/main/docs/manual/src/internals/bindings_ir.md) [more docs](https://github.com/mozilla/uniffi-rs/blob/main/docs/manual/src/internals/bindings_ir_pipeline.md)).
`uniffi-bindgen-gecko-js` is the first bindings generator to adopt this code, although we hope to eventually move all bindings to this system.
This means the `uniffi-bindgen-gecko-js` code may look different than other bindings, but we hope it's only temporary.
```{toctree}
:titlesonly:
:maxdepth: 1
js-and-cpp-layers
lifting-and-lowering
rust-calls
js-callback-interfaces