Skip to content

Commit

Permalink
ci: fix cargo doc
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phip1611 committed Sep 21, 2023
1 parent 7e52171 commit 37b0956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_build-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Code Style and Doc Style
if: inputs.do-style-check
run: |
cargo doc --document-private-items --features ${{ inputs.features }} --no-default-features
cargo doc --no-deps --document-private-items --features ${{ inputs.features }} --no-default-features
cargo clippy --all-targets --features ${{ inputs.features }} --no-default-features
- name: Unit Test (UNIX)
if: inputs.do-test && runner.os != 'Windows'
Expand Down

0 comments on commit 37b0956

Please sign in to comment.