I have written some draft docs about testing and debugging Rust code, which
can be seen in bug 1647987
<https://bugzilla.mozilla.org/show_bug.cgi?id=1647987>. I have done my best
to summarize the important info mentioned in this thread, plus other stuff.
I'd be happy to hear feedback.

Relatedly, in bug 1646280
<https://bugzilla.mozilla.org/show_bug.cgi?id=1646280> I recently improved
the docs about building, linking and vendoring Rust crates. The updated
docs are here
<https://firefox-source-docs.mozilla.org/build/buildsystem/rust.html>.

Finally, I recently ran a questionnaire asking Mozilla engineers about pain
points when using Rust. If you are interested in seeing the results or the
in-progress planning of follow-up work, please contact me off-list.

Nick

On Tue, 12 May 2020 at 08:37, Dave Townsend <dtowns...@mozilla.com> wrote:

> Do we have any standard way to test in-tree Rust code?
>
> Context: We're building a standalone binary in Rust that in the future will
> be distributed with Firefox and of course we want to test it. It lives
> in-tree and while we could use something like xpcshell to drive the
> produced executable and verify its effects it would be much nicer to be
> able to use Rust tests themselves. But I don't see a standard way to do
> that right now.
>
> Is there something, should we build something?
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to