Skip to content

Commit 36fb4ff

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 59dc926 commit 36fb4ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tray/src-tauri/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
//! their boj-server instance, control resource allocation, subscribe
66
//! to cartridge catalogues, and monitor federation status.
77
8+
#![forbid(unsafe_code)]
89
mod server;
910
mod tray;
1011

0 commit comments

Comments
 (0)