Skip to content

Commit

Permalink
rewrite and rename issue-37893 to rmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneirical committed May 28, 2024
1 parent 4e0599d commit 79dc40b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ run-make/forced-unwind-terminate-pof/Makefile
run-make/foreign-double-unwind/Makefile
run-make/foreign-exceptions/Makefile
run-make/foreign-rust-exceptions/Makefile
run-make/fpic/Makefile
run-make/glibc-staticlib-args/Makefile
run-make/inaccessible-temp-dir/Makefile
run-make/include_bytes_deps/Makefile
Expand Down Expand Up @@ -104,7 +103,6 @@ run-make/issue-33329/Makefile
run-make/issue-35164/Makefile
run-make/issue-36710/Makefile
run-make/issue-37839/Makefile
run-make/issue-37893/Makefile
run-make/issue-40535/Makefile
run-make/issue-47384/Makefile
run-make/issue-47551/Makefile
Expand Down
5 changes: 0 additions & 5 deletions tests/run-make/issue-37893/Makefile

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions tests/run-make/proc-macro-init-order/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// a.rs is a procedural macro crate, on which b.rs and c.rs depend. A now
// patched bug caused a compilation failure if the proc-macro crate was
// initialized with its dependents in this exact order. This test checks
// that compilation succeeds even when initialization is done in this order.
// See https://github.com/rust-lang/rust/issues/37893

//@ ignore-cross-compile

use run_make_support::rustc;

fn main() {
rustc().input("a.rs").run();
rustc().input("b.rs").run();
rustc().input("c.rs").run();
}

0 comments on commit 79dc40b

Please sign in to comment.