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

StdRng seems to hang on ARM target #1043

Closed
paulkernfeld opened this issue Sep 13, 2020 · 3 comments
Closed

StdRng seems to hang on ARM target #1043

paulkernfeld opened this issue Sep 13, 2020 · 3 comments
Labels
X-bug Type: bug report X-stale Outdated or abandoned work

Comments

@paulkernfeld
Copy link

Hi, I'm working on a simple app for the STM32F3Discovery board. The target is thumbv7em-none-eabihf. I was able use SmallRng successfully, but the following code hangs forever when it gets to the refill_wide part in next_u32. I'm using Rust 1.46 and rand 0.7.3.

use rand::{RngCore, SeedableRng};
use rand::rngs::StdRng;

let mut rng = StdRng::seed_from_u64(0);
rng.next_u32();
@dhardy
Copy link
Member

dhardy commented Sep 14, 2020

More interesting is to know the versions of rand_chacha and ppv-lite86.

@kazcw

@paulkernfeld
Copy link
Author

I'm on rand_chacha 0.2.2 and ppv-lite86 0.2.9. I made a repo that reproduces the issue here.

@dhardy
Copy link
Member

dhardy commented Jul 20, 2024

This should eventually get fixed by #934. In the mean-time, I'm going to close this since no one appears interested in addressing this issue directly.

@dhardy dhardy closed this as completed Jul 20, 2024
@dhardy dhardy added X-bug Type: bug report X-stale Outdated or abandoned work labels Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
X-bug Type: bug report X-stale Outdated or abandoned work
Projects
None yet
Development

No branches or pull requests

2 participants