gpu: document remaining unsafe blocks and re-enable undocumented_unsafe_blocks #499
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/fxceless--victory-fork!499
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-499"
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?
@JulioMelo259 on GitHub · 2026-11-25 01:45 UTC · original
JulioMelo259:lint/undocumented-unsafe-blocks→main· +19 −9 · 4 files · 2 commits · openRe-enables
clippy::undocumented_unsafe_blocks = "warn"in the workspaceCargo.toml(matching upstream) and adds canonical// SAFETY:comments documenting the safety invariants of the 6 remaining undocumentedunsafeblocks incrates/victory-gpu:crates/victory-gpu/src/host.rs(read_sparse)crates/victory-gpu/src/indirect.rs(record_clamp_asand WARP comparison test)crates/victory-gpu/src/inplace.rs(private,section, andcostprobes)Validation
cargo clippy --workspace --all-targets --all-features— 0 warningscargo test --workspace— 492 passed, 0 failedcargo xtask policy— 169 files passedView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.