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

Verify soundness of unsafe code #11

Open
Nertsal opened this issue Sep 21, 2024 · 0 comments
Open

Verify soundness of unsafe code #11

Nertsal opened this issue Sep 21, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Nertsal
Copy link
Owner

Nertsal commented Sep 21, 2024

The only place where unsafe is used is get_many_unchecked_mut in trait Storage and in generated XStructOf structs (archetypes).

It could be replaced with lending iterators, but they are too inconvenient to use inside for-loops. (i used them in an earlier version but then decided against them)

@Nertsal Nertsal added the help wanted Extra attention is needed label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant