# 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.rst) explains how to add
new Rust code to Firefox. The [test documentation](/testing-rust-code/index.md)
explains how to test and debug Rust code in Firefox.

```{toctree}
:titlesonly:
:maxdepth: 1
:glob:

*
```
