Skip to content

Commit

Permalink
add build-fail to 32-bit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Dec 21, 2019
1 parent 03046ab commit 73e6a21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/test/ui/huge-array-simple-32.rs
@@ -1,4 +1,5 @@
// ignore-64bit
// build-fail

// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/huge-array-simple-32.stderr
@@ -1,5 +1,5 @@
error: the type `[u8; 2147516416]` is too big for the current architecture
--> $DIR/huge-array-simple-32.rs:9:9
--> $DIR/huge-array-simple-32.rs:10:9
|
LL | let _fat: [u8; (1<<31)+(1<<15)] =
| ^^^^
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-15919-32.rs
@@ -1,4 +1,5 @@
// ignore-64bit
// build-fail

// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-15919-32.stderr
@@ -1,5 +1,5 @@
error: the type `[usize; 4294967295]` is too big for the current architecture
--> $DIR/issue-15919-32.rs:8:9
--> $DIR/issue-15919-32.rs:9:9
|
LL | let x = [0usize; 0xffff_ffff];
| ^
Expand Down

0 comments on commit 73e6a21

Please sign in to comment.