Skip to content

Commit

Permalink
Fix some minor issues from the ui-test auto-porting
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed May 11, 2024
1 parent 78a7751 commit 333c1bc
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 25 deletions.
4 changes: 1 addition & 3 deletions tests/codegen-units/partitioning/extern-drop-glue.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//

// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
Expand Down
3 changes: 1 addition & 2 deletions tests/codegen-units/partitioning/extern-generic.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=eager -Zshare-generics=y

Expand Down
2 changes: 1 addition & 1 deletion tests/codegen-units/partitioning/incremental-merging.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
//@ compile-flags:-Ccodegen-units=3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
//@ compile-flags:-Zinline-in-all-cgus
Expand Down
3 changes: 1 addition & 2 deletions tests/codegen-units/partitioning/local-drop-glue.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
// We specify opt-level=0 because `drop_in_place` is `Internal` when optimizing
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen-units/partitioning/local-generic.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=eager

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
//@ compile-flags:-Zinline-in-all-cgus=no
Expand Down
3 changes: 1 addition & 2 deletions tests/codegen-units/partitioning/local-inlining.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
//@ compile-flags:-Zinline-in-all-cgus
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
//@ compile-flags:-Zinline-in-all-cgus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
// much sense at the moment.
//@ ignore-test

//
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy

Expand Down
2 changes: 1 addition & 1 deletion tests/codegen-units/partitioning/regular-modules.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=eager

Expand Down
1 change: 0 additions & 1 deletion tests/codegen-units/partitioning/shared-generics.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//
//@ no-prefer-dynamic
// NOTE: We always compile this test with -Copt-level=0 because higher opt-levels
// prevent drop-glue from participating in share-generics.
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen-units/partitioning/statics.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy

Expand Down
4 changes: 1 addition & 3 deletions tests/codegen-units/partitioning/vtable-through-const.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//

// We specify incremental here because we want to test the partitioning for
//@ incremental compilation
// incremental compilation
//@ incremental
//@ compile-flags:-Zprint-mono-items=lazy
//@ compile-flags:-Zinline-in-all-cgus
Expand Down

0 comments on commit 333c1bc

Please sign in to comment.