Skip to content

cargo: enable unsafe-op-in-unsafe-fn compiler lint #232

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
Apr 1, 2025

Conversation

muzarski
Copy link
Collaborator

@muzarski muzarski commented Apr 1, 2025

It enforces the usage of unsafe block even inside unsafe functions.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • PR description sums up the changes and reasons why they should be introduced.
  • [ ] I have implemented Rust unit tests for the features/changes introduced.
  • [ ] I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.
  • [ ] I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.

It enforces the usage of unsafe block even inside unsafe functions.
@muzarski muzarski requested a review from Lorak-mmk April 1, 2025 09:22
@muzarski muzarski self-assigned this Apr 1, 2025
@muzarski muzarski mentioned this pull request Apr 1, 2025
3 tasks
@muzarski muzarski added this to the 0.4 milestone Apr 1, 2025
@muzarski muzarski merged commit 121726a into scylladb:master Apr 1, 2025
11 checks passed
@muzarski muzarski deleted the unsafe-op-in-unsafe-fn branch April 1, 2025 09:47
@muzarski muzarski mentioned this pull request Apr 14, 2025
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