Re: Testing Rust code in tree

2020-05-12 Thread Chris Hutten-Czapski
Glean Team here. Can confirm that libxul-provided symbols aren't in rusttests builds at present (Rust stuff is built first then wrapped in the loving embrace of libxul). We do write rusttests in our crates that (currently) have no Gecko symbols (see toolkit/components/glean/api/), but have ended up

Recent changes to nsTArray et al.

2020-05-12 Thread Simon Giesecke
Hi, I would like to share some changes (improvements) made to nsTArray and the related array classes from the nsTArray.h header file in the last months. 1. Simon added detection for several accidental misuses or disadvantageous uses at compile-time: 1a. https://bugzil.la/1628715: The member func

Re: Testing Rust code in tree

2020-05-12 Thread James Graham
On 11/05/2020 23:54, Mike Hommey wrote: On Mon, May 11, 2020 at 03:37:07PM -0700, Dave Townsend 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.