From: Ian Jackson Date: Tue, 12 Jan 2021 18:27:52 +0000 (+0000) Subject: cargo: filter out stupid doc output warnings X-Git-Tag: otter-0.3.0~71 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b14b1f779c74dff779a2c45fc2e912a732078157;p=otter.git cargo: filter out stupid doc output warnings Signed-off-by: Ian Jackson --- diff --git a/.cargo-doc-suppress-errors b/.cargo-doc-suppress-errors new file mode 100644 index 00000000..8ae18ff3 --- /dev/null +++ b/.cargo-doc-suppress-errors @@ -0,0 +1,6 @@ +The lib target `.*` in package `.*` has the same output filename as the lib target `.*` in package `.*`. +Colliding filename is:.* +The targets should have unique names. +This is a known bug where multiple crates with the same name use +the same path; see \. +warning: output filename collision\. diff --git a/Makefile b/Makefile index de000664..aeaef80e 100644 --- a/Makefile +++ b/Makefile @@ -162,7 +162,7 @@ stamp/cargo-wdt.debug: $(call rsrcs,.) $(stamp) stamp/cargo.doc: $(call rsrcs,.) - $(CARGO) doc --workspace + $(CARGO) doc --workspace 2>&1 | egrep -vf .cargo-doc-suppress-errors $(stamp) $(addprefix stamp/cargo.wasm-,$(DR)):: \