From 94a0819fe3a0d679c3042a77bfe6a2afc505daea Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:11:28 +0200 Subject: Adding upstream version 1.66.0+dfsg1. Signed-off-by: Daniel Baumann --- src/test/codegen/mem-replace-direct-memcpy.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/test/codegen/mem-replace-direct-memcpy.rs') diff --git a/src/test/codegen/mem-replace-direct-memcpy.rs b/src/test/codegen/mem-replace-direct-memcpy.rs index 8095d309f..4318e926e 100644 --- a/src/test/codegen/mem-replace-direct-memcpy.rs +++ b/src/test/codegen/mem-replace-direct-memcpy.rs @@ -1,21 +1,10 @@ -// ignore-test - -// WHY IS THIS TEST BEING IGNORED: -// -// This test depends on characteristics of how the stdlib was compiled, -// namely that sufficient inlining occurred to ensure that the call to -// `std::mem::replace` boils down to just two calls of `llvm.memcpy`. -// -// But the MIR inlining policy is in flux as of 1.64-beta, and the intermittent -// breakage of this test that results is causing problems for people trying to -// do development. - // This test ensures that `mem::replace::` only ever calls `@llvm.memcpy` // with `size_of::()` as the size, and never goes through any wrapper that // may e.g. multiply `size_of::()` with a variable "count" (which is only // known to be `1` after inlining). // compile-flags: -C no-prepopulate-passes -Zinline-mir=no +// ignore-debug: the debug assertions get in the way #![crate_type = "lib"] -- cgit v1.2.3