Fix fat LTO determinism test so it fails without the fix.

This commit is contained in:
Joel Galenson 2019-08-08 09:05:32 -07:00
parent 5b2c5e181a
commit a46e36f9df

View file

@ -81,7 +81,7 @@ extern_flags:
fat_lto:
rm -rf $(TMPDIR) && mkdir $(TMPDIR)
$(RUSTC) reproducible-build-aux.rs
$(RUSTC) reproducible-build.rs -C lto=fat
$(RUSTC) reproducible-build.rs -C lto=fat -C opt-level=1
cp $(TMPDIR)/reproducible-build $(TMPDIR)/reproducible-build-a
$(RUSTC) reproducible-build.rs -C lto=fat
$(RUSTC) reproducible-build.rs -C lto=fat -C opt-level=1
cmp "$(TMPDIR)/reproducible-build-a" "$(TMPDIR)/reproducible-build" || exit 1