Skip to content

Commit 8c8d0db

Browse files
committedMay 29, 2024
rewrite and rename issue-37893 to rmake
1 parent 0697884 commit 8c8d0db

File tree

9 files changed

+18
-10
lines changed

9 files changed

+18
-10
lines changed
 

‎src/tools/tidy/src/allowed_run_make_makefiles.txt

-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ run-make/forced-unwind-terminate-pof/Makefile
7272
run-make/foreign-double-unwind/Makefile
7373
run-make/foreign-exceptions/Makefile
7474
run-make/foreign-rust-exceptions/Makefile
75-
run-make/fpic/Makefile
7675
run-make/glibc-staticlib-args/Makefile
7776
run-make/inaccessible-temp-dir/Makefile
7877
run-make/include_bytes_deps/Makefile
@@ -103,7 +102,6 @@ run-make/issue-33329/Makefile
103102
run-make/issue-35164/Makefile
104103
run-make/issue-36710/Makefile
105104
run-make/issue-37839/Makefile
106-
run-make/issue-37893/Makefile
107105
run-make/issue-40535/Makefile
108106
run-make/issue-47384/Makefile
109107
run-make/issue-47551/Makefile

‎tests/run-make/issue-37893/Makefile

-5
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// a.rs is a procedural macro crate, on which b.rs and c.rs depend. A now
2+
// patched bug caused a compilation failure if the proc-macro crate was
3+
// initialized with its dependents in this exact order. This test checks
4+
// that compilation succeeds even when initialization is done in this order.
5+
// See https://github.com/rust-lang/rust/issues/37893
6+
7+
//@ ignore-cross-compile
8+
9+
use run_make_support::rustc;
10+
11+
fn main() {
12+
rustc().input("a.rs").run();
13+
rustc().input("b.rs").run();
14+
rustc().input("c.rs").run();
15+
}

‎tests/ui/errors/pic-linker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//@ ignore-macos
77
//@ ignore-cross-compile
88

9-
//@ compile-flags -Clink-args=-Wl,-z,text
9+
//@ compile-flags: -Clink-args=-Wl,-z,text
1010
//@ run-pass
1111

1212
fn main() {}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags --crate-type=dylib -Cprefer-dynamic
1+
//@ compile-flags: -Cprefer-dynamic
22

33
#![crate_type = "dylib"]
44
pub fn bar() {}

‎tests/ui/imports/simple-dylib-import.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// on the dynamic library simple-dylib.rs. If the test passes,
33
// dylibs can be built and linked into another file successfully..
44

5-
//@ aux-crate: simple-dylib.rs
5+
//@ aux-crate:bar=simple-dylib.rs
66
//@ run-pass
77

88
extern crate bar;

0 commit comments

Comments
 (0)