diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-02 23:05:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 23:05:27 +0100 |
commit | f75f440bbf98a6a419240ce9cc1c82f13e37b76f (patch) | |
tree | 06ede899a7e08224de9ec62055dc1245b81cf8ce /tests/rustdoc-js-std/parser-errors.js | |
parent | 13471d3b2046cce78181dde6cfc146c09f55e29e (diff) | |
parent | f26b0a29487c6501fa4c14b9b43b3fa0228001ba (diff) | |
download | rust-f75f440bbf98a6a419240ce9cc1c82f13e37b76f.tar.gz |
Rollup merge of #108022 - CraftSpider:align-bytes, r=oli-obk
Support allocations with non-Box<[u8]> bytes
This is prep work for allowing miri to support passing pointers to C code, which will require `Allocation`s to be correctly aligned. Currently, it just makes `Allocation` generic and plumbs the necessary changes through the right places.
The follow-up to this will be adding a type in the miri interpreter which correctly aligns the bytes, using that for the Miri engine, then allowing Miri to pass pointers into these allocations to C calls.
Based off of #100467, credit to ```@emarteca``` for the code
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions