gecko-dev/toolkit/library
Nathan Froyd ab7e3e703e Bug 1373878 - part 3 - add stylo_tests as a RustTest; r=rillian
The easy part of this patch is the addition of the RustTest itself.

The more difficult to understand part of the patch is the changes to all
of our Rust build configuration.  We do this due to a bug in cargo:

https://github.com/rust-lang/cargo/issues/3923

where features on dependent crates are not correctly taken into account
when determining whether cached artifacts on disk are valid and whether
they should be evicted from the disk cache.  The practical upshot of
this behavior is that, say, running gtests during normal development
when files in libxul are modified will:

* rebuild some Rust dependencies for libxul;
* link libxul;
* rebuild those same Rust dependencies *again* for libxul-gtest, since
  we have different features active and therefore the old artifacts look
  to be out of date;
* link libxul-gtest.

Needless to say, this is highly annoying and counterproductive behavior.

The "fix" is to ensure that the gkrust-shared crate explicitly depends
on crates and assigns features to them such that the feature sets do not
change between normal builds and testing builds.  This is admittedly
fragile, but it is not the first time this has come up, and is probably
not the last.
2017-10-02 09:21:22 -04:00
..
dummydll Bug 1386876 - Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium 2017-05-01 18:12:35 -07:00
gtest Bug 1373878 - part 3 - add stylo_tests as a RustTest; r=rillian 2017-10-02 09:21:22 -04:00
rust Bug 1373878 - part 3 - add stylo_tests as a RustTest; r=rillian 2017-10-02 09:21:22 -04:00
StaticXULComponentsEnd Bug 1185424 - Fix build failures on SunOS due to "NSModules are not ordered appropriately". r=glandium 2017-08-22 01:54:58 -07:00
dependentlibs.py
libxul.mk
libxul.so-gdb.py.in
Makefile.in
moz.build Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin 2017-08-17 17:30:57 -07:00
nsDllMain.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
StaticXULComponents.ld
StaticXULComponentsStart.cpp Bug 1185424 - Fix build failures on SunOS due to "NSModules are not ordered appropriately". r=glandium 2017-08-22 01:54:58 -07:00
symverscript.in
xulrunner.rc Backed out 3 changesets (bug 1354077) for assertions in AccessibleWrap.cpp a=backout CLOSED TREE 2017-06-12 16:54:10 -07:00