Skip to content

Commit f11bd7e

Browse files
committed
Fix some minor issues from the ui-test auto-porting
1 parent 78a7751 commit f11bd7e

14 files changed

+13
-38
lines changed

Diff for: tests/codegen-units/partitioning/extern-drop-glue.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
//
2-
3-
// We specify incremental here because we want to test the partitioning for
4-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
52
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing
63
//@ incremental
74
//@ compile-flags:-Zprint-mono-items=lazy

Diff for: tests/codegen-units/partitioning/extern-generic.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//
2-
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
42
//@ incremental
53
//@ compile-flags:-Zprint-mono-items=eager -Zshare-generics=y
64

Diff for: tests/codegen-units/partitioning/incremental-merging.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
32
//@ incremental
43
//@ compile-flags:-Zprint-mono-items=lazy
54
//@ compile-flags:-Ccodegen-units=3

Diff for: tests/codegen-units/partitioning/inlining-from-extern-crate.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//
2-
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
42
//@ incremental
53
//@ compile-flags:-Zprint-mono-items=lazy
64
//@ compile-flags:-Zinline-in-all-cgus

Diff for: tests/codegen-units/partitioning/local-drop-glue.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//
2-
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
42
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing
53
//@ incremental
64
//@ compile-flags:-Zprint-mono-items=lazy

Diff for: tests/codegen-units/partitioning/local-generic.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
32
//@ incremental
43
//@ compile-flags:-Zprint-mono-items=eager
54

Diff for: tests/codegen-units/partitioning/local-inlining-but-not-all.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//
2-
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
42
//@ incremental
53
//@ compile-flags:-Zprint-mono-items=lazy
64
//@ compile-flags:-Zinline-in-all-cgus=no

Diff for: tests/codegen-units/partitioning/local-inlining.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//
2-
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
42
//@ incremental
53
//@ compile-flags:-Zprint-mono-items=lazy
64
//@ compile-flags:-Zinline-in-all-cgus

Diff for: tests/codegen-units/partitioning/local-transitive-inlining.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
//
2-
// We specify incremental here because we want to test the partitioning for
3-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
42
//@ incremental
53
//@ compile-flags:-Zprint-mono-items=lazy
64
//@ compile-flags:-Zinline-in-all-cgus

Diff for: tests/codegen-units/partitioning/methods-are-with-self-type.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
// much sense at the moment.
44
//@ ignore-test
55

6-
//
7-
// We specify incremental here because we want to test the partitioning for
8-
//@ incremental compilation
6+
// We specify incremental here because we want to test the partitioning for incremental compilation
97
//@ incremental
108
//@ compile-flags:-Zprint-mono-items=lazy
119

Diff for: tests/codegen-units/partitioning/regular-modules.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
32
//@ incremental
43
//@ compile-flags:-Zprint-mono-items=eager
54

Diff for: tests/codegen-units/partitioning/shared-generics.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//
21
//@ no-prefer-dynamic
32
// NOTE: We always compile this test with -Copt-level=0 because higher opt-levels
43
// prevent drop-glue from participating in share-generics.

Diff for: tests/codegen-units/partitioning/statics.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// We specify incremental here because we want to test the partitioning for
2-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
32
//@ incremental
43
//@ compile-flags:-Zprint-mono-items=lazy
54

Diff for: tests/codegen-units/partitioning/vtable-through-const.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
//
2-
3-
// We specify incremental here because we want to test the partitioning for
4-
//@ incremental compilation
1+
// We specify incremental here because we want to test the partitioning for incremental compilation
52
//@ incremental
63
//@ compile-flags:-Zprint-mono-items=lazy
74
//@ compile-flags:-Zinline-in-all-cgus

0 commit comments

Comments
 (0)