Albin Hedman
|
4aa1267cbb
|
Update and bless tests for const read out of bounds
|
2021-06-27 14:24:49 +02:00 |
|
Albin Hedman
|
4b64baff67
|
Bless out_of_bounds_read test
|
2021-06-27 12:05:20 +02:00 |
|
Albin Hedman
|
38e9538122
|
Revert "Remove tests that were also added in PR 79684."
This reverts commit e118a2cbf1.
|
2021-06-27 12:05:18 +02:00 |
|
Felix S. Klock II
|
e118a2cbf1
|
Remove tests that were also added in PR 79684.
|
2021-06-04 16:44:28 -04:00 |
|
bors
|
8e54a21139
|
Auto merge of #81238 - RalfJung:copy-intrinsics, r=m-ou-se
directly expose copy and copy_nonoverlapping intrinsics
This effectively un-does https://github.com/rust-lang/rust/pull/57997. That should help with `ptr::read` codegen in debug builds (and any other of these low-level functions that bottoms out at `copy`/`copy_nonoverlapping`), where the wrapper function will not get inlined. See the discussion in https://github.com/rust-lang/rust/pull/80290 and https://github.com/rust-lang/rust/issues/81163.
Cc `@bjorn3` `@therealprof`
|
2021-02-13 20:30:07 +00:00 |
|
Jeffrey Griffin
|
ff315e34e8
|
improve error message for disallowed ptr-to-int casts in const eval
|
2021-02-05 00:52:19 -08:00 |
|
Ralf Jung
|
8477d352ac
|
make const_err a future incompat lint
|
2021-02-03 15:45:43 +01:00 |
|
Ralf Jung
|
18d12ad171
|
directly expose copy and copy_nonoverlapping intrinsics
|
2021-01-21 10:41:22 +01:00 |
|
Albin Hedman
|
5e27765ddf
|
Add tests
|
2020-12-26 03:45:51 +01:00 |
|