3 # Assert that the search index is generated deterministically, regardless of the
4 # order that crates are documented in.
10 $(RUSTDOC) foo.rs -o $(TMPDIR)/foo_first
11 $(RUSTDOC) bar.rs -o $(TMPDIR)/foo_first
13 $(RUSTDOC) bar.rs -o $(TMPDIR)/bar_first
14 $(RUSTDOC) foo.rs -o $(TMPDIR)/bar_first
16 diff $(TMPDIR)/foo_first/search-index.js $(TMPDIR)/bar_first/search-index.js