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

426 B

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 explains how to add new Rust code to Firefox. The test documentation explains how to test and debug Rust code in Firefox.

.. toctree::
    :titlesonly:
    :maxdepth: 1
    :glob:

    *