zellij
zellij copied to clipboard
Does not work on RISC-V 64, unsupported cranelift ISA
Basic information
zellij --version
: zellij 0.34.4
stty size
: 91 384
uname -av
: Linux starfive 5.15.0-starfive #1 SMP Wed Dec 21 03:56:12 EST 2022 riscv64 GNU/Linux
Further information
I recently received a Starfive VisionFive 2 RISC-V devboard, installed rust on it and installed zellij using cargo install zellij
.
When trying to run zellij
, I get the following error:
Error occurred in server:
× Thread 'wasm' panicked.
├─▶ Originating Thread(s)
│ 1. ipc_server: NewClient
│ 2. screen_thread: NewTab
│ 3. plugin_thread: NewTab
│
├─▶ At /home/max/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmer-compiler-cranelift-2.3.0/src/config.rs:73:45
╰─▶ construct Cranelift ISA for triple: Unsupported
help: If you are seeing this message, it means that something went wrong.
Please report this error to the github issue.
(https://github.com/zellij-org/zellij/issues)
Also, if you want to see the backtrace, you can set the `RUST_BACKTRACE` environment variable to `1`.
I expect that this is a result from plugins being WebAssembly and whatever webassembly runtime (~~probably wasmtime
~~) you use relies on cranelift, which doesn't have support for RISC-V yet.
~~According to https://docs.wasmtime.dev/stability-platform-support.html#interpreter-support, wasmtime
doesn't even have an interpreter, so I guess the only way to get zellij
to run on RISC-V is if it were possible to completely disable plugins, so it doesn't even try to run webassembly?~~