diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2024-12-24 14:05:22 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-24 14:05:22 +1100 |
| commit | bbd30b54768555c2fabe3d71d6949ed2d40752f3 (patch) | |
| tree | c6ec8b714352ad15214a445c6d637901bb200a33 /tests/rustdoc-js-std/basic.js | |
| parent | 0c93b279ea23a1fc83b72d12f15f37e4946f5876 (diff) | |
| parent | af1c8da172a9d9d18af4a7e1c59bfecd2f051111 (diff) | |
| download | rust-bbd30b54768555c2fabe3d71d6949ed2d40752f3.tar.gz rust-bbd30b54768555c2fabe3d71d6949ed2d40752f3.zip | |
Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obk
core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets Ensure that the pointer gets swapped correctly even if it is not stored at an aligned offset. This rules out implementations that copy things in a `usize` loop -- so our implementation needs to be adjusted to avoid such a loop when running in const context. Part of https://github.com/rust-lang/rust/issues/133668
Diffstat (limited to 'tests/rustdoc-js-std/basic.js')
0 files changed, 0 insertions, 0 deletions
