gpu: document remaining unsafe blocks and re-enable undocumented_unsafe_blocks #499
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by JulioMelo259 on 2026-11-25T01:45:30Z.
Re-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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.