xmem: skip the two graphics-reservation tests under Miri #658
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/658"
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 brcly/TuxBox. Originally posted by NickStallman on 2026-12-02T19:02:13Z.
The Miri job on
mainhas failed since1b4ed472:a_graphics_reservation_the_cpu_cannot_map_is_still_gpu_address_spacereachesVirtualAlloc2throughvirtual_alloc, which Miri cannot emulate (runtime/xmem/src/virtual_memory.rs:627).a_released_graphics_reservation_loses_its_id_and_a_smaller_one_does_not_take_itmakes the same call and would fail next, since Miri stops at the first unsupported call.Both now carry
#[cfg_attr(miri, ignore = "calls VirtualAlloc2, which Miri cannot emulate")], like the neighbouring tests that allocate. They still run in the normal Rust test job.Checked:
rustfmt --edition 2024 --checkon the file. Not run locally: Miri itself. This PR's own CI run will show it.🤖 Generated with Claude Code
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-12-02T21:19:27Z.
Closing:
7b308cd4("Fix Miri") adds the same two skips, so this is no longer needed. Thanks!Imported from brcly/TuxBox. Originally posted by brcly on 2026-12-02T21:22:28Z.
I only saw this PR after pushing the fix, sorry!
Pull request closed