On Fri, Jul 15, 2022 at 9:17 PM Miguel Ojeda miguel.ojeda.sandonis@gmail.com wrote:
If by "random script" you mean the rustup installer, you can always download rustup on its own, or even directly a Rust "standalone installer", which are signed and do not require rustup, from:
https://forge.rust-lang.org/infra/other-installation-methods.html#standalone
However, since it appears that you have rustup installed, maybe you don't mean that. In any case, if rustup is installed, maybe you can try something like:
rustup default stable
or similar to install a toolchain.
Having said that, if building as a normal user is OK (should be), then you maybe can simply run the test binary as root (building it with something like `cargo --no-run` as a normal user).
Cheers, Miguel