Skip to content

Conversation

@Berrysoft
Copy link
Member

The default targets of docs.rs is OK for most cases, I think.

  • windows-msvc instead of windows-gnu
  • aarch64-apple instead of x86_64-apple

@Berrysoft Berrysoft self-assigned this Dec 8, 2025
@Berrysoft Berrysoft added the documentation Improvements or additions to documentation label Dec 8, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes broken documentation builds on docs.rs by removing explicit target specifications and allowing docs.rs to use its default targets. The motivation is to use windows-msvc instead of windows-gnu and aarch64-apple instead of x86_64-apple targets for better compatibility.

Key changes:

  • Removes the targets list and default-target from package metadata in multiple Cargo.toml files
  • Adds package metadata (categories and keywords) to compio-ws

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
compio/Cargo.toml Removes default-target and targets list from docs.rs metadata
compio-ws/Cargo.toml Adds categories and keywords metadata for crates.io
compio-runtime/Cargo.toml Removes default-target and targets list from docs.rs metadata
compio-driver/Cargo.toml Inconsistent change - removes rustdoc-args and targets but keeps default-target

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Berrysoft
Copy link
Member Author

Seems that I have deleted wrong lines:(

@Berrysoft Berrysoft marked this pull request as draft December 8, 2025 10:34
@Berrysoft Berrysoft marked this pull request as ready for review December 8, 2025 13:14
Copy link
Member

@George-Miao George-Miao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@George-Miao George-Miao mentioned this pull request Dec 9, 2025
4 tasks
@George-Miao George-Miao merged commit 748d40e into compio-rs:master Dec 9, 2025
53 checks passed
@Berrysoft Berrysoft deleted the fix/docs branch December 9, 2025 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants