Skip to content

Commit 79cf61a

Browse files
committed
Update Makefiles with explanatory comments
1 parent 14081a2 commit 79cf61a

File tree

23 files changed

+67
-0
lines changed

23 files changed

+67
-0
lines changed

tests/run-make/alloc-no-oom-handling/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that the Rust compiler can still compile correctly when the unstable no_global_oom_handling feature is turned on, which disables global error handling in alloc.
2+
# See https://github.com/rust-lang/rust/pull/84266
3+
14
include ../tools.mk
25

36
all:

tests/run-make/alloc-no-rc/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that the Rust compiler can still compile correctly when the unstable no_rc feature is turned on, which disables rc in alloc.
2+
# See https://github.com/rust-lang/rust/pull/89891
3+
14
include ../tools.mk
25

36
all:

tests/run-make/alloc-no-sync/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that the Rust compiler can still compile correctly when the unstable no_sync feature is turned on, which disables sync in alloc.
2+
# See https://github.com/rust-lang/rust/pull/89891
3+
14
include ../tools.mk
25

36
all:

tests/run-make/allocator-shim-circular-deps/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test intentionally creates a circular dependency, and checks if this causes the resurgence of the compiler bug linked below.
2+
# See https://github.com/rust-lang/rust/issues/112715
3+
14
# ignore-cross-compile
25
include ../tools.mk
36

tests/run-make/archive-duplicate-names/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test reads two object archives with the same filename, and extracts each one to a unique location. This checks that the functionality of the linked PR is preserved.
2+
# See https://github.com/rust-lang/rust/pull/24439
3+
14
# ignore-cross-compile
25
include ../tools.mk
36

tests/run-make/bare-outfile/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This test checks that manually setting the output file as a bare file with no file extension still results in successful compilation.
2+
13
# ignore-cross-compile
24
include ../tools.mk
35

tests/run-make/c-dynamic-dylib/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that dynamic Rust linking with C does not encounter any errors, with dynamic dependencies given preference over static.
2+
# See https://github.com/rust-lang/rust/issues/10434
3+
14
# ignore-cross-compile
25
include ../tools.mk
36

tests/run-make/c-dynamic-rlib/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that dynamic Rust linking with C does not encounter any errors, with static dependencies given preference over dynamic. (This is the default behaviour.)
2+
# See https://github.com/rust-lang/rust/issues/10434
3+
14
# ignore-cross-compile
25
include ../tools.mk
36

tests/run-make/c-link-to-rust-dylib/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that C linking with Rust does not encounter any errors, with dynamic libraries.
2+
# See https://github.com/rust-lang/rust/issues/10434
3+
14
# ignore-cross-compile
25
include ../tools.mk
36

tests/run-make/c-link-to-rust-staticlib/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This test verifies that C linking with Rust does not encounter any errors, with static libraries.
2+
# See https://github.com/rust-lang/rust/issues/10434
3+
14
# ignore-cross-compile
25
include ../tools.mk
36

0 commit comments

Comments
 (0)