mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

These tests depend on the internal logic of rustc regarding handling very large objects. Fix them to reflect rustc_abi::obj_size_bound diffs.
21 lines
609 B
Plaintext
21 lines
609 B
Plaintext
error: extern static is too large for the current architecture
|
|
--> $DIR/extern-static-size-overflow.rs:20:5
|
|
|
|
|
LL | static BAZ: [u8; max_size()];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: extern static is too large for the current architecture
|
|
--> $DIR/extern-static-size-overflow.rs:21:5
|
|
|
|
|
LL | static UWU: [usize; usize::MAX];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: extern static is too large for the current architecture
|
|
--> $DIR/extern-static-size-overflow.rs:22:5
|
|
|
|
|
LL | static A: ReallyBig;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|