Skip to content

Commit 37b0956

Browse files
committed
ci: fix cargo doc
Fix the "The targets should have unique names." bug when building the doc for the whole workspace. The problem is that the header crate might use an outdated version of multiboot2. There is no need to build the deps here anyway, so it's an easy fix.
1 parent 7e52171 commit 37b0956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_build-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- name: Code Style and Doc Style
9595
if: inputs.do-style-check
9696
run: |
97-
cargo doc --document-private-items --features ${{ inputs.features }} --no-default-features
97+
cargo doc --no-deps --document-private-items --features ${{ inputs.features }} --no-default-features
9898
cargo clippy --all-targets --features ${{ inputs.features }} --no-default-features
9999
- name: Unit Test (UNIX)
100100
if: inputs.do-test && runner.os != 'Windows'

0 commit comments

Comments
 (0)