Matthias Krüger
2137d19ef6
Rollup merge of #127275 - RalfJung:offset-from-isize-min, r=Amanieu
...
offset_from, offset: clearly separate safety requirements the user needs to prove from corollaries that automatically follow
By landing https://github.com/rust-lang/rust/pull/116675 we decided that objects larger than `isize::MAX` cannot exist in the address space of a Rust program, which lets us simplify these rules.
For `offset_from`, we can even state that the *absolute* distance fits into an `isize`, and therefore exclude `isize::MIN`. This PR also changes Miri to treat an `isize::MIN` difference like the other isize-overflowing cases.
2024-07-06 13:26:25 +02:00
..
2024-06-30 17:08:45 +00:00
2024-06-23 04:28:42 -05:00
2024-06-24 15:30:24 +03:00
2024-06-22 17:39:01 +02:00
2024-05-02 19:42:31 -04:00
2024-04-23 23:02:54 +02:00
2024-06-14 11:05:35 -04:00
2024-06-14 11:05:35 -04:00
2024-04-24 13:12:33 +01:00
2024-06-30 17:08:45 +00:00
2024-06-13 20:22:21 +00:00
2024-06-13 20:22:21 +00:00
2024-06-19 19:31:41 -04:00
2024-06-19 19:31:41 -04:00
2024-04-24 13:12:33 +01:00
2024-06-21 11:57:24 +00:00
2024-05-13 07:59:16 +02:00
2024-05-13 07:59:16 +02:00
2024-06-30 17:08:45 +00:00
2024-06-28 10:57:35 +00:00
2024-06-12 08:53:59 +00:00
2024-06-12 08:53:59 +00:00
2024-06-24 15:30:24 +03:00
2024-05-21 14:50:09 +02:00
2024-06-12 08:53:59 +00:00
2024-06-12 08:53:59 +00:00
2024-06-12 08:53:59 +00:00
2024-06-28 10:57:35 +00:00
2024-06-30 17:08:45 +00:00
2024-06-28 10:57:35 +00:00
2024-06-30 17:08:45 +00:00
2024-05-13 07:59:16 +02:00
2024-05-13 07:59:16 +02:00
2024-06-14 07:52:51 +02:00
2024-06-14 07:52:51 +02:00
2024-06-14 07:52:51 +02:00
2024-06-14 07:52:51 +02:00
2024-05-23 10:51:52 +00:00
2024-05-23 10:51:52 +00:00
2024-05-23 10:48:39 +00:00
2024-05-23 10:51:52 +00:00
2024-06-21 11:57:24 +00:00
2024-07-04 05:19:35 +00:00
2024-05-03 15:56:59 +02:00
2024-05-03 15:56:59 +02:00
2024-04-24 13:12:33 +01:00
2024-06-05 22:25:42 +01:00
2024-06-05 22:25:42 +01:00
2024-04-26 23:06:21 -04:00
2024-04-26 23:06:21 -04:00
2024-07-04 14:12:23 +02:00
2024-07-04 14:12:23 +02:00
2024-05-13 07:59:16 +02:00
2024-05-13 07:59:16 +02:00
2024-04-23 22:52:43 +02:00
2024-04-23 22:52:43 +02:00
2024-06-28 10:57:35 +00:00
2024-06-28 10:57:35 +00:00
2024-06-28 10:57:35 +00:00
2024-04-23 22:52:43 +02:00
2024-06-30 17:08:45 +00:00
2024-06-30 17:08:45 +00:00
2024-07-04 12:20:51 +00:00
2024-07-04 12:20:51 +00:00
2024-06-12 12:34:47 +00:00
2024-05-29 22:26:54 +00:00
2024-06-19 13:54:55 +01:00