Skip to content

Commit 4089e9a

Browse files
committed
Auto merge of #127546 - workingjubilee:5-level-paging-exists, r=saethlin
Correct outdated object size limit The comment here about 48 bit addresses being enough was written in 2016 but was made incorrect in 2019 by 5-level paging, and then persisted for another 5 years before being noticed and corrected. The bolding of the "exclusive" part is merely to call attention to something I missed when reading it and doublechecking the math. try-job: i686-msvc try-job: test-various
2 parents fab01c1 + 55e234c commit 4089e9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fail/type-too-large.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error: post-monomorphization error: values of the type `[u8; 2305843011361177600]` are too big for the current architecture
1+
error: post-monomorphization error: values of the type `[u8; 2305843011361177600]` are too big for the target architecture
22
--> tests/fail/type-too-large.rs:LL:CC
33
|
44
LL | _fat = [0; (1u64 << 61) as usize + (1u64 << 31) as usize];
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843011361177600]` are too big for the current architecture
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843011361177600]` are too big for the target architecture
66
|
77
= note: BACKTRACE:
88
= note: inside `main` at tests/fail/type-too-large.rs:LL:CC

0 commit comments

Comments
 (0)