Skip to content

Commit 0e3b37a

Browse files
committed
Fix codegen-units tests
I'm not sure what the signficance of `drop-glue i8` is, nor why one of the tests had it appear while the others had it disappear. Either way it doesn't seem like the presence or absense of it is the focus of the tests.
1 parent c55d9e5 commit 0e3b37a

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/test/codegen-units/item-collection/statics-and-consts.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ fn main() {
6060
//~ TRANS_ITEM static statics_and_consts::foo[0]::STATIC2[2]
6161

6262
//~ TRANS_ITEM fn statics_and_consts::main[0]
63+
64+
//~ TRANS_ITEM drop-glue i8

src/test/codegen-units/partitioning/inlining-from-extern-crate.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,3 @@ mod mod2 {
5757
cgu_explicit_inlining::never_inlined();
5858
}
5959
}
60-
61-
//~ TRANS_ITEM drop-glue i8

src/test/codegen-units/partitioning/local-inlining.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,3 @@ mod non_user {
5050

5151
}
5252
}
53-
54-
//~ TRANS_ITEM drop-glue i8

src/test/codegen-units/partitioning/local-transitive-inlining.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,3 @@ mod non_user {
5050

5151
}
5252
}
53-
54-
//~ TRANS_ITEM drop-glue i8

0 commit comments

Comments
 (0)