diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-03-27 17:44:33 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-03-27 17:44:33 +0000 |
| commit | 9f16a81bc86e4b3c851abd58a4852e6dad7eb17e (patch) | |
| tree | 4233d013fa5ab22857d7c9781fea39ad6d0f38bb | |
| parent | a2be7a1bb44e4a33421c1397d018a97ae7ec63eb (diff) | |
| download | rust-9f16a81bc86e4b3c851abd58a4852e6dad7eb17e.tar.gz rust-9f16a81bc86e4b3c851abd58a4852e6dad7eb17e.zip | |
update codegen test expectations
Changing the layout of the InitMask changed the const allocations' hashes.
| -rw-r--r-- | tests/codegen/consts.rs | 2 | ||||
| -rw-r--r-- | tests/codegen/remap_path_prefix/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/consts.rs b/tests/codegen/consts.rs index dd22fd0f7e8..8a135039c06 100644 --- a/tests/codegen/consts.rs +++ b/tests/codegen/consts.rs @@ -9,7 +9,7 @@ // CHECK: @STATIC = {{.*}}, align 4 // This checks the constants from inline_enum_const -// CHECK: @alloc_76bfe2f13a3e3b01074971d122eac57e = {{.*}}, align 2 +// CHECK: @alloc_701ed935fbda2002838d0a2cbbc171e5 = {{.*}}, align 2 // This checks the constants from {low,high}_align_const, they share the same // constant, but the alignment differs, so the higher one should be used diff --git a/tests/codegen/remap_path_prefix/main.rs b/tests/codegen/remap_path_prefix/main.rs index 6c0cd6997d0..85523d053b5 100644 --- a/tests/codegen/remap_path_prefix/main.rs +++ b/tests/codegen/remap_path_prefix/main.rs @@ -12,7 +12,7 @@ mod aux_mod; include!("aux_mod.rs"); // Here we check that the expansion of the file!() macro is mapped. -// CHECK: @alloc_92a59126a55aa3c0019b6c8a007fe001 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }> +// CHECK: @alloc_af9d0c7bc6ca3c31bb051d2862714536 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }> pub static FILE_PATH: &'static str = file!(); fn main() { |
