Re: [PATCH V4 0/8] libgpiod: Add Rust bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 15, 2022 at 9:17 PM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> 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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux