forked from mirrors/gecko-dev
This patch includes content from the following places. - Lina's "Getting Rusty: How to ship an XPCOM component in Firefox" slide deck. - Zibi's "Rust <--> C/C++ FFI for newbies" gist. It also links to Emilio's "FFI patterns #1 - Complex Rust data structures exposed seamlessly to C++" blog post. I was going to include that content, but it's very long, so I have omitted it for now. Differential Revision: https://phabricator.services.mozilla.com/D81963
17 lines
426 B
Markdown
17 lines
426 B
Markdown
# Writing Rust Code
|
|
|
|
This page explains how to write and work with Rust code in Firefox, with an
|
|
emphasis on interoperation with C++ code.
|
|
|
|
The [build documentation](../build/buildsystem/rust.html) explains how to add
|
|
new Rust code to Firefox. The [test documentation](../testing-rust-code)
|
|
explains how to test and debug Rust code in Firefox.
|
|
|
|
```eval_rst
|
|
.. toctree::
|
|
:titlesonly:
|
|
:maxdepth: 1
|
|
:glob:
|
|
|
|
*
|
|
```
|