Skip to content

Commit 03df67f

Browse files
hyperpolymathclaude
andcommitted
chore: add #![forbid(unsafe_code)] to safe Rust crates
Adds the forbid(unsafe_code) crate-level attribute to all Rust crates that do not use unsafe code, hardening the safety guarantee at compile time. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4dede97 commit 03df67f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • impl/elixir/native/vsh_nif/src

impl/elixir/native/vsh_nif/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//!
44
//! Exposes hardware-based secure erase functions to Elixir
55
6+
#![forbid(unsafe_code)]
67
use rustler::Atom;
78

89
// Import from vsh crate

0 commit comments

Comments
 (0)