fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
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