Skip to content

fix(dmesg): add linux build tags#1417

Merged
kongfei605 merged 1 commit intoflashcatcloud:mainfrom
kongfei605:dmesg_build
Mar 19, 2026
Merged

fix(dmesg): add linux build tags#1417
kongfei605 merged 1 commit intoflashcatcloud:mainfrom
kongfei605:dmesg_build

Conversation

@kongfei605
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 02:02
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

Adds platform build constraints to the dmesg input so the agent can compile cleanly on non-Linux platforms while keeping Linux functionality intact.

Changes:

  • Mark inputs/dmesg/dmesg.go as Linux-only via //go:build linux.
  • Add a !linux stub file (dmesg_notlinux.go) so unconditional imports still compile on non-Linux.

Reviewed changes

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

File Description
inputs/dmesg/dmesg.go Adds Linux build tags to restrict the implementation to Linux.
inputs/dmesg/dmesg_notlinux.go Adds a non-Linux stub package to keep builds/imports working.

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

@kongfei605 kongfei605 merged commit 595d8f1 into flashcatcloud:main Mar 19, 2026
6 of 7 checks passed
@kongfei605 kongfei605 deleted the dmesg_build branch March 19, 2026 02:23
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.

2 participants