Skip to content

Commit e446a87

Browse files
committed
mk: Add a dummy CFG_COMPILER_HOST_TRIPLE to rustdoc invocation.
Otherwise it will prohibit `make compiler-docs` on Windows.
1 parent e415c25 commit e446a87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mk/docs.mk

+1
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ LIB_DOC_DEP_$(1) = $$(CRATEFILE_$(1)) $$(RSINPUTS_$(1))
269269
endif
270270

271271
$(2) += doc/$(1)/index.html
272+
doc/$(1)/index.html: CFG_COMPILER_HOST_TRIPLE = $(CFG_TARGET)
272273
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1))
273274
@$$(call E, rustdoc $$@)
274275
$$(Q)$$(RUSTDOC) --cfg dox --cfg stage2 $$<

0 commit comments

Comments
 (0)