]> git.proxmox.com Git - rustc.git/blob - src/test/run-make-fulldeps/rustdoc-determinism/Makefile
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / run-make-fulldeps / rustdoc-determinism / Makefile
1 include ../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
9 all:
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