Skip to content

Conversation

@Berrysoft
Copy link
Member

Closes #598

Also add a simple CI test to make sure that it won't be broken in the future.

@Berrysoft Berrysoft self-assigned this Jan 4, 2026
@Berrysoft Berrysoft added bug Something isn't working driver: stub labels Jan 4, 2026
George-Miao
George-Miao previously approved these changes Jan 4, 2026
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

@Berrysoft
Copy link
Member Author

Oh, I set the wrong features for stub test.

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 compilation issues in the stub driver by correcting type references and adding missing OpCode implementations, and introduces a new CI job to prevent future breakage.

  • Changed libc::stat to Stat type alias in IntoInner implementations
  • Added missing OpCode trait implementations for Read, Write, ReadVectored, WriteVectored, and ReadManaged operations
  • Added a new check_stub CI job to ensure the stub driver compiles

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
compio-driver/src/sys/stub/op.rs Fixed type references from libc::stat to Stat and added missing OpCode implementations for file I/O operations and managed read operations
.github/workflows/ci_check.yml Added new CI job check_stub to verify stub driver compilation

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

@Berrysoft Berrysoft requested a review from George-Miao January 4, 2026 14:19
@Berrysoft
Copy link
Member Author

@George-Miao could you review again?

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

@Berrysoft Berrysoft merged commit abd710b into compio-rs:master Jan 5, 2026
54 checks passed
@Berrysoft Berrysoft deleted the fix/stub branch January 5, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working driver: stub

Projects

None yet

Development

Successfully merging this pull request may close these issues.

master fails to build against aarch64

2 participants