fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
428 B16 linesraw
1include ../tools.mk
2
3# Assert that the search index is generated deterministically, regardless of the
4# order that crates are documented in.
5
6# ignore-windows
7# Uses `diff`.
8
9all:
10	$(RUSTDOC) foo.rs -o $(TMPDIR)/foo_first
11	$(RUSTDOC) bar.rs -o $(TMPDIR)/foo_first
12
13	$(RUSTDOC) bar.rs -o $(TMPDIR)/bar_first
14	$(RUSTDOC) foo.rs -o $(TMPDIR)/bar_first
15
16	diff $(TMPDIR)/foo_first/search-index.js $(TMPDIR)/bar_first/search-index.js