fune/docs/writing-rust-code/index.md
Nicholas Nethercote 977d5b8a57 Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina.
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
2020-07-07 07:38:27 +00:00

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:
*
```