about summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-extern-method/Makefile
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2015-02-06 00:51:38 -0800
committerTom Jakubowski <tom@crystae.net>2015-02-06 01:02:15 -0800
commitabae840f450c6f2b38f6ebf83cfcf1a7928138b7 (patch)
tree8031c2a32b38e88c5c0d4768e8d433de15174fe6 /src/test/run-make/rustdoc-extern-method/Makefile
parent43b85035682f56a95d3ebbfae4cd6abfed0f3225 (diff)
downloadrust-abae840f450c6f2b38f6ebf83cfcf1a7928138b7.tar.gz
rust-abae840f450c6f2b38f6ebf83cfcf1a7928138b7.zip
rustdoc: Show non-Rust ABIs on methods
Fix #21621
Diffstat (limited to 'src/test/run-make/rustdoc-extern-method/Makefile')
-rw-r--r--src/test/run-make/rustdoc-extern-method/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/run-make/rustdoc-extern-method/Makefile b/src/test/run-make/rustdoc-extern-method/Makefile
new file mode 100644
index 00000000000..c87684f59ea
--- /dev/null
+++ b/src/test/run-make/rustdoc-extern-method/Makefile
@@ -0,0 +1,8 @@
+-include ../tools.mk
+
+all: foo.rs bar.rs
+	$(HOST_RPATH_ENV) $(RUSTC) foo.rs
+	$(HOST_RPATH_ENV) $(RUSTDOC) -w html -o $(TMPDIR)/doc foo.rs
+	$(HOST_RPATH_ENV) $(RUSTDOC) -L $(TMPDIR) -w html -o $(TMPDIR)/doc bar.rs
+	$(HTMLDOCCK) $(TMPDIR)/doc bar.rs
+