Skip to content

Switch 'deny' lints to 'warn' #679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025
Merged

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Jun 30, 2025

These deny lints can be annoying during local development as it prevents your code from compiling while iterating. Switching to warn instead shouldn't have any negative impact on quality, since clippy will still catch all warnings which will still prevent PRs from being merged.

I added (back) a compiler error if neither hypervisor feature is enabled, as that is required by a test just test-compilation-fail. It was removed when in-process mode was added to Linux, but never re-added when in-process mode was removed. I think it's important that this is a compiler error and not a runtime error as Hyperlight is useless without an enabled hypervisor. (At runtime the error would otherwise be surfaced as a NoHypervisorFound error)

@ludfjig ludfjig added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Jun 30, 2025
… will be caught by clippy regardless in CI

Signed-off-by: Ludvig Liljenberg <[email protected]>
Copy link
Member

@syntactically syntactically left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dblnz dblnz left a comment

Choose a reason for hiding this comment

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

LGTM!

@ludfjig ludfjig merged commit 3dd58b3 into hyperlight-dev:main Jul 1, 2025
38 of 59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants