Skip to content

Commit d062f90

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 4237249 commit d062f90

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
//! This library provides a high-performance implementation of a robot vacuum
55
//! cleaner simulator with advanced path planning, SLAM, and control algorithms.
66
7+
#![forbid(unsafe_code)]
78
pub mod robot;
89
pub mod environment;
910
pub mod pathfinding;

0 commit comments

Comments
 (0)