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

Forbid unsafe code #46

Closed
ralpha opened this issue Sep 19, 2020 · 1 comment
Closed

Forbid unsafe code #46

ralpha opened this issue Sep 19, 2020 · 1 comment

Comments

@ralpha
Copy link

ralpha commented Sep 19, 2020

vec-map does not seem to use unsafe code, which is very good :)

To prevent this from ever happening, add following line to the top:

#![forbid(unsafe_code)]

of https://github.com/contain-rs/vec-map/blob/master/src/lib.rs

This will make the package green in
https://github.com/rust-secure-code/cargo-geiger

@pczarn
Copy link
Contributor

pczarn commented Dec 1, 2024

Fixed in #54

@pczarn pczarn closed this as completed Dec 1, 2024
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

No branches or pull requests

2 participants