Skip to content

Commit 650bbb5

Browse files
authored
Rollup merge of #125221 - Oneirical:fourth, r=jieyouxu
Migrate `run-make/issue-28766` to `rmake` Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
2 parents d7498c2 + e9edced commit 650bbb5

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ run-make/issue-25581/Makefile
103103
run-make/issue-26006/Makefile
104104
run-make/issue-26092/Makefile
105105
run-make/issue-28595/Makefile
106-
run-make/issue-28766/Makefile
107106
run-make/issue-30063/Makefile
108107
run-make/issue-33329/Makefile
109108
run-make/issue-35164/Makefile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// The crate "foo" tied to this test executes a very specific function,
2+
// which involves boxing an instance of the struct Foo. However,
3+
// this once caused a segmentation fault in cargo release builds due to an LLVM
4+
// incorrect assertion.
5+
// This test checks that this bug does not resurface.
6+
// See https://github.com/rust-lang/rust/issues/28766
7+
8+
use run_make_support::{rustc, tmp_dir};
9+
10+
fn main() {
11+
rustc().opt().input("foo.rs").run();
12+
rustc().opt().library_search_path(tmp_dir()).input("main.rs").run();
13+
}

tests/run-make/issue-28766/Makefile

-5
This file was deleted.

0 commit comments

Comments
 (0)