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

chore: forbid unsafe code #131

Merged
merged 1 commit into from
Nov 15, 2024
Merged

chore: forbid unsafe code #131

merged 1 commit into from
Nov 15, 2024

Conversation

apljungquist
Copy link
Contributor

Writing unsafe code is difficult and should generally be avoided. When using unsafe code is necessary, it is ideal if it can be delegated to public crates that can be tested and audited by multiple developers.

This commit consistently forbids unsafe code in crates where it is not necessary to serve as a reminder that it should probably be avoided also in the future and that the intention of this project is to provide safe abstractions that allow application authors to avoid unsafe code in their applications.

apps-aarch64.checksum:

  • All checksums change, presumably because the line numbers have all changed.

Writing unsafe code is difficult and should generally be avoided. When
using unsafe code is necessary, it is ideal if it can be delegated to
public crates that can be tested and audited by multiple developers.

This commit consistently forbids unsafe code in crates where it is not
necessary to serve as a reminder that it should probably be avoided
also in the future and that the intention of this project is to provide
safe abstractions that allow application authors to avoid unsafe code
in their applications.

`apps-aarch64.checksum`:
- All checksums change, presumably because the line numbers have all
  changed.
@apljungquist apljungquist requested a review from a team as a code owner November 15, 2024 16:17
@apljungquist apljungquist merged commit 185f935 into main Nov 15, 2024
2 checks passed
@apljungquist apljungquist deleted the forbid_unsafe_code branch November 15, 2024 16:32
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