Skip to content

Conversation

ZR233
Copy link
Contributor

@ZR233 ZR233 commented Sep 29, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings September 29, 2025 01:56
Copy link
Contributor

@Copilot 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 enables Clippy warnings to be treated as errors and refactors module visibility to fix related warnings. The primary goal is to enforce stricter code quality by making Clippy warnings cause build failures.

  • Configures Clippy to treat warnings as errors via the -D warnings flag
  • Refactors the fs module from private to public to fix module visibility issues
  • Updates import paths and dead code annotations to align with the new module structure

Reviewed Changes

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

File Description
scripts/clippy.py Adds -D warnings flag to make Clippy warnings fail builds
src/vmm/images/mod.rs Changes fs module to public and removes re-export pattern
src/vmm/fdt/mod.rs Updates import path to use the now-public fs module directly
src/vmm/config.rs Consolidates dead code allowances at module level

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

…stency

- Translated comments and output messages in axvisor.sh to English for better accessibility.
- Enhanced error handling and output messages in bootstrap.sh, build.py, clean.py, clippy.py, disk_img.py, run.py, and setup.py.
- Updated requirements.txt to reflect English comments.
- Improved structure and readability of code across various scripts.
- Ensured consistent terminology and formatting in all output messages.
@ZR233 ZR233 changed the title feat: clippy warning as error feat: clippy warning as error, log to english Sep 29, 2025
@ZR233 ZR233 self-assigned this Sep 29, 2025
@ZR233 ZR233 merged commit df8e158 into next Sep 29, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant