You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: workspace unsafe_code = "forbid" applies to no crate #1456
No crate opts in: none of the crates/*/Cargo.toml files has [lints] workspace = true. Cargo only applies workspace lints to members that inherit them, so unsafe_code = "forbid" is enforced nowhere.
The bundled skill (.agents/skills/uteke-memory/SKILL.md lines 8 and 214, plus its copy in crates/uteke-cli/assets/) claims "unsafe_code = "forbid" workspace-wide".
There is real unsafe in the workspace. For example, tests call unsafe { std::env::set_var(..) } (edition 2024), such as crates/uteke-cli/src/main.rs around lines 324-356 and the fallback-settings env test in crates/uteke-core/src/lib.rs. Those would not compile under forbid.
Why
The documented guarantee is not true, and nothing stops unsafe from entering production code.
Activity
build: enforce the unsafe_code lint in every crate (#1456)
build: enforce the unsafe_code lint in every crate (#1456) (#1483)