Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[WSL2] "rustup update" causes "getrandom not ready" when run on initial VM boot #4416
Running Rust programming language environment's "rustup update" command immediately on first boot of a WSL2 environment, either by typing into the terminal during bootup or by running directly as a command:
Command should run to completion, checking for toolchain updates and installing them if necessary. It runs fine if run a few seconds after the VM boots, just not immediately.
There are no repro steps here but it looks like you are hitting variation this and this, which I guess triggers on WSL2 as well. There is no reason to expect