Changes

Jump to: navigation, search

Oxidation

547 bytes removed, 05:38, 24 June 2020
FAQ
** Nika Layzell (:nika)
** Cameron McCormack (:heycam)
 
== FAQ ==
 
'''Q:''' How are in-tree Rust crates tested?<br />
 
'''A:''' In general we don't run tests for third-party crates; the assumption is that these crates are sufficiently well-tested elsewhere. (Which means that large test fixtures should be removed when vendoring third-party crates, because they just bloat mozilla-central.) Mozilla crates can be tested with <tt>cargo test</tt> by adding them to <tt>RUST_TESTS</tt> in <tt>toolkit/library/rust/moz.build</tt>. Alternatively, you can write a GTest that uses FFI to call into Rust code.
= Rust Components =
Confirm
1,345
edits

Navigation menu