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

Open
ralpha opened this issue Sep 19, 2020 · 0 comments
Open

Forbid unsafe code #46

ralpha opened this issue Sep 19, 2020 · 0 comments

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

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

1 participant