Skip to content

Commit b1b82b1

Browse files
authored
Make one a full assert
1 parent c2850c3 commit b1b82b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openhcl/virt_mshv_vtl/src/processor/mshv/tlb_lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl UhProcessor<'_, HypervisorBacked> {
7979
if result {
8080
self.vtls_tlb_locked.set(requesting_vtl, target_vtl, true);
8181
} else {
82-
debug_assert!(!self.vtls_tlb_locked.get(requesting_vtl, target_vtl));
82+
assert!(!self.vtls_tlb_locked.get(requesting_vtl, target_vtl));
8383
}
8484
result
8585
}

0 commit comments

Comments
 (0)