greenfield: deny unsafe_op_in_unsafe_fn in frame, vkback and vicrec #104
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory!104
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-104"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TheRifai on GitHub · 2026-12-01 13:52 UTC · original
TheRifai:greenfield-unsafe-narrow→main· +3 −0 · 3 files · 1 commits · merged 2026-12-01 14:29 UTCWhat
frame,vkbackandvicrecnow denyunsafe_op_in_unsafe_fn(docs/TASKS.md “The root workspace's rustc lints everywhere”, issue #41). All three already wrapped every unsafe operation in an explicitunsafe {}block with a SAFETY note, so enabling the lint needs no code edits — only the crate attributes. umem and the wine crates are covered in their own PRs; the workspace-table switch comes last.The reference
The root Cargo.toml's rustc lint table is the policy source.
Evidence
cargo check --workspace --all-targets --lockedingreenfield/passes with the denies in place;tools/build.shand CI's native tests (11 + 16 + 151) plus policy (6) pass.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rule 29/31)@vktory6 on GitHub · 2026-12-01 14:30 UTC · original
Merged as
f080108, thank you!