Skip to content

Commit

Permalink
Turn off inlining for codegen-unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Apr 7, 2023
1 parent e88e2af commit 3541775
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags:-Zprint-mono-items=eager
// compile-flags:-Zprint-mono-items=eager -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down
3 changes: 1 addition & 2 deletions tests/codegen-units/item-collection/function-as-argument.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//
// compile-flags:-Zprint-mono-items=eager
// compile-flags:-Zprint-mono-items=eager -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen-units/item-collection/generic-functions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags:-Zprint-mono-items=eager
// compile-flags:-Zprint-mono-items=eager -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down
2 changes: 1 addition & 1 deletion tests/codegen-units/item-collection/generic-impl.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags:-Zprint-mono-items=eager
// compile-flags:-Zprint-mono-items=eager -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags:-Zprint-mono-items=eager
// compile-flags:-Zprint-mono-items=eager -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//
// compile-flags:-Zprint-mono-items=eager
// compile-flags:-Zprint-mono-items=eager -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags:-Zprint-mono-items=eager -Zpolymorphize=on
// compile-flags:-Zprint-mono-items=eager -Zpolymorphize=on -Zinline-mir=no

#![deny(dead_code)]
#![feature(start)]
Expand Down

0 comments on commit 3541775

Please sign in to comment.