Closed Strophox closed 5 months ago
r? @RalfJung
If you rebase over the latest Miri master, you should get the updated rustc that includes your PR, so that this one can finally build. :)
There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.
You can start a rebase with the following commands:
$ # rebase
$ git pull --rebase https://github.com/rust-lang/miri.git master
$ git push --force-with-lease
The following commits are merge commits:
Looks good, thanks!
Please squash this into a single commit.
Thanks!
Force-pushes do not always trigger a notification on github, so you have to let the reviewer know that the PR is ready again. In Rust we have the @rustbot ready
command for that.
@bors r+
:pushpin: Commit cf6330c67593874edd79f6005efd7322c7668def has been approved by RalfJung
It is now in the queue for this repository.
:hourglass: Testing commit cf6330c67593874edd79f6005efd7322c7668def with merge fef104380a39474b8a88f8e273a312eedeabb42d...
:sunny: Test successful - checks-actions Approved by: RalfJung Pushing fef104380a39474b8a88f8e273a312eedeabb42d to master...
Previously, the
MiriMachine
usedtype Bytes = Box<[u8]>
for its allocations. This PR swaps this out for a customMiriAllocBytes
type implemented inalloc_bytes.rs
. This is in anticipation of an extension to Miri's FFI, which will require its allocations to take care of alignment (the methods inimpl AllocBytes for Box<[u8]>
ignore this_align: Align
argument).Needs https://github.com/rust-lang/rust/pull/124492