Skip to content
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

Remove and Prevent use of expect/assert*/panic/unwrap in hyperlight #325

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

simongdavies
Copy link
Contributor

This PR:

Adds a clippy lint to check for use of expect in hyperlight-host for non test/non dev code in hyperlight_host.
Removes all uses of expect in hyperlight-host.

@simongdavies simongdavies force-pushed the fix-unwrap-panic-expect-assert branch from 749445d to 93cf05e Compare March 5, 2025 15:21
@simongdavies simongdavies force-pushed the fix-unwrap-panic-expect-assert branch from 8f6ad7f to 5d4faf5 Compare March 5, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review use of expect/panic/assert/unwrap across the hyperlight codebase
1 participant