Skip to content

Conversation

@RyanGlScott
Copy link
Contributor

For now, this override does not support trait objects or custom DSTs. This is still enough to be useful in practice despite these limitations. (See #1614 for the task of supporting trait objects/custom DSTs in this override.)

Fixes #1708.

For now, this override does not support trait objects or custom DSTs. This is
still enough to be useful in practice despite these limitations. (See #1614
for the task of supporting trait objects/custom DSTs in this override.)

Fixes #1708.
@RyanGlScott RyanGlScott self-assigned this Jan 20, 2026
@RyanGlScott RyanGlScott added enhancement crucible MIR Issues relating to Rust/MIR support labels Jan 20, 2026
Comment on lines +60 to +62
* Add an intrinsic for [`align_of_val`](https://doc.rust-lang.org/std/intrinsics/fn.align_of_val.html),
which computes the alignment of a value in bytes. This works for all sized types
as well as a limited number of unsized types (currently, only slices).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changelog entry may need to be moved depending on the timing of the upcoming Crux release.

Copy link
Collaborator

@qsctr qsctr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically the XFAIL message for the rc/rc_basic crux-mir test is now out of date, but the XFAIL will likely be removed very soon anyways when we incorporate the changes from GaloisInc/mir-json#221, so it's probably fine.

@RyanGlScott
Copy link
Contributor Author

Yes, good point. I think I will park this PR until GaloisInc/mir-json#221 lands first and then incorporate that as a submodule bump, which will allow us to remove the FAIL message for good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crucible enhancement MIR Issues relating to Rust/MIR support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crucible-mir: Support the align_of_val intrinsic

3 participants