Skip to content

Commit a815afa

Browse files
committed
Rewrite test ignore??
1 parent 12df148 commit a815afa

File tree

1 file changed

+2
-6
lines changed
  • src/memory/layoutfulbox/layoutfulbox

1 file changed

+2
-6
lines changed

src/memory/layoutfulbox/layoutfulbox/tests.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,8 @@ fn usable_0xu8_test() {
110110

111111
#[test]
112112
#[cfg_attr(
113-
miri,
114-
ignore = "miri fails with: miri resource exhaustion: tried to allocate more memory than available to compiler"
115-
)]
116-
#[cfg_attr(
117-
not(target_pointer_width = "64"),
118-
ignore = "iff isize === i32, allocation of isize::MAX can succeed, we don't want that"
113+
any(not(target_pointer_width = "64"), miri),
114+
ignore = "this test only makes sense for ridiculous allocations sizes (1PB+?), but at the same time requires native compilation (i.e. no interpreters/sanitizers)"
119115
)]
120116
fn usable_max_test() {
121117
assert_eq!(

0 commit comments

Comments
 (0)