mk: Add a dummy CFG_COMPILER_HOST_TRIPLE to rustdoc invocation.
Otherwise it will prohibit `make compiler-docs` on Windows.
This commit is contained in:
parent
6d6d4c987f
commit
dd00bf3791
@ -269,6 +269,7 @@ LIB_DOC_DEP_$(1) = $$(CRATEFILE_$(1)) $$(RSINPUTS_$(1))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
$(2) += doc/$(1)/index.html
|
$(2) += doc/$(1)/index.html
|
||||||
|
doc/$(1)/index.html: CFG_COMPILER_HOST_TRIPLE = $(CFG_TARGET)
|
||||||
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1))
|
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1))
|
||||||
@$$(call E, rustdoc $$@)
|
@$$(call E, rustdoc $$@)
|
||||||
$$(Q)$$(RUSTDOC) --cfg dox --cfg stage2 $$<
|
$$(Q)$$(RUSTDOC) --cfg dox --cfg stage2 $$<
|
||||||
|
Loading…
Reference in New Issue
Block a user