Files
rust/tests/ui
Matthias Krüger cbe2522652 Rollup merge of #114382 - scottmcm:compare-bytes-intrinsic, r=cjgillot
Add a new `compare_bytes` intrinsic instead of calling `memcmp` directly

As discussed in #113435, this lets the backends be the place that can have the "don't call the function if n == 0" logic, if it's needed for the target.  (I didn't actually *add* those checks, though, since as I understood it we didn't actually need them on known targets?)

Doing this also let me make it `const` (unstable), which I don't think `extern "C" fn memcmp` can be.

cc `@RalfJung` `@Amanieu`
2023-08-07 05:29:12 +02:00
..
2023-07-24 18:04:35 +02:00
2023-07-28 20:15:12 +02:00
2023-05-30 13:03:40 +02:00
2023-08-06 15:06:40 +02:00
2023-07-17 22:06:32 +00:00
2023-08-03 15:12:44 +02:00
2023-08-03 14:50:50 +02:00
2023-05-08 17:58:01 -03:00
2023-07-03 09:12:15 +02:00
2023-08-01 23:12:03 +00:00
2023-07-28 22:23:21 +02:00
2023-04-29 13:01:46 +01:00
2023-07-28 11:20:11 +00:00
2023-07-29 11:47:26 +02:00
2023-06-29 16:24:07 +03:00
2023-06-26 08:56:32 +00:00
2023-08-02 15:38:00 +00:00
2023-04-03 09:24:11 +02:00
2023-04-19 19:13:45 +00:00
2023-06-20 19:46:01 -04:00
2023-05-08 03:36:30 +00:00
2023-05-29 12:07:41 -03:00
2023-06-12 20:24:48 +08:00
2023-04-29 13:01:46 +01:00
2023-05-12 00:10:52 +00:00
2023-04-13 22:10:26 -05:00
2023-04-13 22:10:26 -05:00