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