fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
333 B10 linesraw
1-include ../tools.mk
2
3# Test that rustdoc will properly load in a theme file and display it in the theme selector.
4
5OUTPUT_DIR := "$(TMPDIR)/rustdoc-themes"
6
7all:
8	cp $(S)/src/librustdoc/html/static/themes/light.css $(TMPDIR)/test.css
9	$(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css
10	$(HTMLDOCCK) $(OUTPUT_DIR) foo.rs