Skip to content

Commit 1779ab4

Browse files
committed
rustdoc: Process markdown pages in sequence. Closes #2484
1 parent f7b35eb commit 1779ab4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rustdoc/markdown_pass.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ fn write_markdown(
8383
doc: doc::doc,
8484
+writer_factory: writer_factory
8585
) {
86-
do par::map(doc.pages) |page| {
86+
// FIXME #2484: There is easy parallelism to be had here but
87+
// we don't want to spawn too many pandoc processes
88+
do doc.pages.map |page| {
8789
let ctxt = {
8890
w: writer_factory(page)
8991
};

0 commit comments

Comments
 (0)