heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
34 stars 6 forks source link

Enable the rustc `unsafe_code` lint #749

Closed edmorley closed 9 months ago

edmorley commented 9 months ago

To help make any usages of unsafe more obvious, since they will now require the addition of an allow attribute (and ideally an explaining comment).

See: https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unsafe-code

GUS-W-14511805.