-
-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work on RISC-V 64, unsupported cranelift ISA #2111
Comments
|
Nevermind, you're using |
riscv64 is supported starting with wasmer 3.2.0. zellij is way behind on wasmer updates… |
I got the same/very similar issue when I tried to compile zellij from source on my RISC-V board. |
Can confirm this is still happening in 0.39.2 -- I get a glimpse of the UI, then it dies with |
Looking at it, it looks like RISC-V support was added in Wasmer 3.2, and Zellij is still on 3.1.1 -- so fixing this requires another Wasmer bump, which, according to #2706, is going to be difficult. |
More generally, it would be good if it had a way to execute plugins in an interpreter; then having a JIT for the runtime ISA is a performance optimization rather than a hard requirement. Unfortunately, it looks like this is not something Cranelift can do, and while there's a |
After #3349 merged, this issue is resolved. |
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:I expect that this is a result from plugins being WebAssembly and whatever webassembly runtime (
probably) you use relies on cranelift, which doesn't have support for RISC-V yet.wasmtime
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 getzellij
to run on RISC-V is if it were possible to completely disable plugins, so it doesn't even try to run webassembly?The text was updated successfully, but these errors were encountered: