Skip to content

Commit ff0b84d

Browse files
committed
fix tests in wasm
1 parent 6594799 commit ff0b84d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/test/mir-opt/match_false_edges.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn main() {
4949

5050
// END RUST SOURCE
5151
//
52-
// START rustc.full_tested_match.SimplifyBranches-initial.before.mir
52+
// START rustc.full_tested_match.QualifyAndPromoteConstants.after.mir
5353
// bb0: {
5454
// ...
5555
// _2 = std::option::Option<i32>::Some(const 42i32,);
@@ -110,9 +110,9 @@ fn main() {
110110
// ...
111111
// return;
112112
// }
113-
// END rustc.full_tested_match.SimplifyBranches-initial.before.mir
113+
// END rustc.full_tested_match.QualifyAndPromoteConstants.after.mir
114114
//
115-
// START rustc.full_tested_match2.SimplifyBranches-initial.before.mir
115+
// START rustc.full_tested_match2.QualifyAndPromoteConstants.before.mir
116116
// bb0: {
117117
// ...
118118
// _2 = std::option::Option<i32>::Some(const 42i32,);
@@ -173,9 +173,9 @@ fn main() {
173173
// ...
174174
// return;
175175
// }
176-
// END rustc.full_tested_match2.SimplifyBranches-initial.before.mir
176+
// END rustc.full_tested_match2.QualifyAndPromoteConstants.before.mir
177177
//
178-
// START rustc.main.SimplifyBranches-initial.before.mir
178+
// START rustc.main.QualifyAndPromoteConstants.before.mir
179179
// bb0: {
180180
// ...
181181
// _2 = std::option::Option<i32>::Some(const 1i32,);
@@ -252,4 +252,4 @@ fn main() {
252252
// ...
253253
// return;
254254
// }
255-
// END rustc.main.SimplifyBranches-initial.before.mir
255+
// END rustc.main.QualifyAndPromoteConstants.before.mir

src/test/mir-opt/validate_2.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// except according to those terms.
1010

1111
// ignore-tidy-linelength
12+
// ignore-wasm32-bare unwinding being disabled causes differences in output
13+
// ignore-wasm64-bare unwinding being disabled causes differences in output
1214
// compile-flags: -Z verbose -Z mir-emit-validate=1
1315

1416
fn main() {

0 commit comments

Comments
 (0)