about summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-json/Makefile
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-16 22:31:05 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-19 01:10:31 -0800
commit68d576fd345b197e5be08cc9b84201e5897dc729 (patch)
tree25ebea7acdf107ddf61e5412dd9e2e7de6245937 /src/test/run-make/rustdoc-json/Makefile
parent6db37bb147c06cddf7ae6a99eb913a5ceaee792b (diff)
downloadrust-68d576fd345b197e5be08cc9b84201e5897dc729.tar.gz
rust-68d576fd345b197e5be08cc9b84201e5897dc729.zip
rustdoc: Fix json output and input
Turns out a hash map with integer keys isn't serializable to json.

Closes #10115
Diffstat (limited to 'src/test/run-make/rustdoc-json/Makefile')
-rw-r--r--src/test/run-make/rustdoc-json/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-make/rustdoc-json/Makefile b/src/test/run-make/rustdoc-json/Makefile
new file mode 100644
index 00000000000..5e6ab4b790e
--- /dev/null
+++ b/src/test/run-make/rustdoc-json/Makefile
@@ -0,0 +1,4 @@
+-include ../tools.mk
+all:
+	$(RUSTDOC) -w json -o $(TMPDIR)/doc.json foo.rs
+	$(RUSTDOC) -o $(TMPDIR)/doc $(TMPDIR)/doc.json