From e1338cc254fb0802197cbd67e62bbf1133ab330a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 3 Jul 2023 14:05:55 +0200 Subject: enable test_join test in Miri --- library/alloc/tests/vec.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'library/alloc') diff --git a/library/alloc/tests/vec.rs b/library/alloc/tests/vec.rs index 21824c8a17c..ddd93e9a436 100644 --- a/library/alloc/tests/vec.rs +++ b/library/alloc/tests/vec.rs @@ -1906,6 +1906,7 @@ fn test_stable_pointers() { assert_eq!(*v0, 13); // Smoke test that would fire even outside Miri if an actual relocation happened. + // Also ensures the pointer is still writeable after all this. *v0 -= 13; assert_eq!(v[0], 0); } -- cgit 1.4.1-3-g733a5