Skip to content

Commit 9bdad3e

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 e2c7ea7 commit 9bdad3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

echidnabot/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//!
1212
//! See `docs/ARCHITECTURE.adoc` for the full design document.
1313
14+
#![forbid(unsafe_code)]
1415
pub mod api;
1516
pub mod adapters;
1617
pub mod config;

0 commit comments

Comments
 (0)