Skip to content

Commit 364844d

Browse files
Rollup merge of #154167 - ujjwalvishwakarma2006:move-lto-tests, r=Kivooeo
ui/lto: move and rename two tests from issues/ Move: - `tests/ui/issues/issue-44056.rs` -> `tests/ui/lto/lto-avx-target-feature.rs` - The first test enables both AVX target features and LTO but does not exercise AVX-specific behavior. The test primarily checks that LTO builds successfully with these flags; place it under `ui/lto` for consistency. - `tests/ui/issues/issue-51947.rs` -> `tests/ui/lto/lto-weak-merge-functions.rs` - The second test exercises weak linkage interacting with LTO (merge-functions), so it should belong in `ui/lto`. I have also added a commented line at the top of each test file indicating the issue it originated from.
2 parents adb4d2e + dd2b208 commit 364844d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//! regression test for <https://github.com/rust-lang/rust/issues/44056>
12
//@ build-pass (FIXME(55996): should be run on targets supporting avx)
23
//@ only-x86_64
34
//@ no-prefer-dynamic
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//! regression test for <https://github.com/rust-lang/rust/issues/51947>
12
//@ build-pass
23

34
#![crate_type = "lib"]

0 commit comments

Comments
 (0)