You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first reason is that rustc will already point to the system installed Rust:
~/.rustup/toolchains ❯ command -v rustc
/etc/profiles/per-user/odd/bin/rustc
~/.rustup/toolchains ❯ rustc +wasix --print sysroot
error: couldn't read +wasix: No such file or directory (os error 2)
The second reason is that the downloaded files such as rustc and rustdoc needs to be patched with patchelf, otherwise they won't run due to assuming paths for dependencies:
toolchains/wasix/bin ❯ pwd
/home/odd/.rustup/toolchains/wasix/bin
toolchains/wasix/bin ❯ ls
rustc rustdoc
toolchains/wasix/bin ❯ ./rustc
bash: ./rustc: cannot execute: required file not found
Nix stores these dependencies in /nix/store, which is why they need patching.
The text was updated successfully, but these errors were encountered:
The first reason is that
rustc
will already point to the system installed Rust:The second reason is that the downloaded files such as
rustc
andrustdoc
needs to be patched withpatchelf
, otherwise they won't run due to assuming paths for dependencies:Nix stores these dependencies in
/nix/store
, which is why they need patching.The text was updated successfully, but these errors were encountered: