Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miri can catch panics now #132

Merged
merged 3 commits into from
Dec 21, 2019
Merged

Miri can catch panics now #132

merged 3 commits into from
Dec 21, 2019

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Dec 6, 2019

Also update some other Miri-related comments.

Comment on lines -3380 to 3382
// FIXME: https://github.com/rust-lang/miri/issues/653
let mut rng = {
let seed = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16];
SmallRng::from_seed(seed)
Copy link
Member Author

Choose a reason for hiding this comment

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

This issue has been closed, meaning getrandom now works on Miri. This is still not host randomness by default; see the Miri README. But wouldn't it be better to keep this test deterministic? That's why I didn't change the code.

@RalfJung
Copy link
Member Author

RalfJung commented Dec 6, 2019

CI failures look unrelated:

Unable to find image 'rustembedded/cross:i686-unknown-linux-gnu-0.1.16' locally
i686-unknown-linux-gnu-0.1.16: Pulling from rustembedded/cross

Status: Downloaded newer image for rustembedded/cross:i686-unknown-linux-gnu-0.1.16
error: no such subcommand: `cargo`

@Amanieu
Copy link
Member

Amanieu commented Dec 6, 2019

blocked on cross-rs/cross#357

@Amanieu
Copy link
Member

Amanieu commented Dec 21, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Dec 21, 2019

📌 Commit 4ccc1a2 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Dec 21, 2019

⌛ Testing commit 4ccc1a2 with merge 13027f9...

bors added a commit that referenced this pull request Dec 21, 2019
Miri can catch panics now

Also update some other Miri-related comments.
@bors
Copy link
Contributor

bors commented Dec 21, 2019

☀️ Test successful - checks-travis
Approved by: Amanieu
Pushing 13027f9 to master...

@bors bors merged commit 4ccc1a2 into rust-lang:master Dec 21, 2019
@RalfJung RalfJung deleted the miri branch December 17, 2020 08:56
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.

3 participants