Skip to content

Error on OSTree-based distros #68

Description

@Honey-Be

When I try any cargo-wasix command except cargo wasix self clean and cargo wasix self update-check, I run into this error below:

thread 'main' (147804) panicked at /home/ybi/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-wasix-0.1.26/src/toolchain.rs:343:5:
assertion `left == right` failed
  left: "/home/ybi/.local/share/cargo-wasix/toolchains/x86_64-unknown-linux-gnu_v2025-11-07.1+rust-1.90/rust"
 right: "/var/home/ybi/.local/share/cargo-wasix/toolchains/x86_64-unknown-linux-gnu_v2025-11-07.1+rust-1.90/rust"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It seems that /home is symlinked to /var/home on OSTree-based distros such as Fedora Silverblue/Kinoite, Bazzite, etc, and I'm using Bazzite DX with rustup installed via rpm-ostree.
Could you solve such assertion failures on OSTree-based distros?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions