Skip to content

Basic miri store/load roundtrip#2066

Open
folkertdev wants to merge 3 commits intorust-lang:mainfrom
folkertdev:basic-miri-roundtrip
Open

Basic miri store/load roundtrip#2066
folkertdev wants to merge 3 commits intorust-lang:mainfrom
folkertdev:basic-miri-roundtrip

Conversation

@folkertdev
Copy link
Contributor

r? sayantn

We briefly discussed testing with miri at some point, so I'm not sure if you had something specific in mind? This setup is not the most robust at the moment, but that is mostly because I'm running into missing Miri support very quickly.

@folkertdev folkertdev changed the title Basic miri roundtrip Basic miri store/load roundtrip Mar 19, 2026
Copy link
Contributor

@sayantn sayantn left a comment

Choose a reason for hiding this comment

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

lgtm, just one nit

View changes since this review

- name: Aarch64 load/store roundtrip
env:
TARGET: "aarch64-unknown-linux-gnu"
run: cargo miri test -p core_arch --target aarch64-unknown-linux-gnu -- test_vld3q
Copy link
Contributor

Choose a reason for hiding this comment

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

it might be nice to have a small .txt file with all the test names instead of having them inline. Also we can probably test more, the CI already takes 12 minutes, so we can increase this until the time reaches 12 minutes without slowing CI down at all

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure we have time (and could shard if not) but most of the other tests still fail because either the read or write does not use the portable intrinsic. This particular one is of interest for the backport of the UB fix in #t-libs/backports > #153336: beta-nominated.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants