Skip to content
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

Crash when compilation target is not present #1

Open
Zykino opened this issue Jan 21, 2025 · 0 comments
Open

Crash when compilation target is not present #1

Zykino opened this issue Jan 21, 2025 · 0 comments

Comments

@Zykino
Copy link

Zykino commented Jan 21, 2025

Image
I had to use wasm32-wasip1 target. I’m also using the following cargo config target-dir = "/mnt/Data/Code/Target/Cargo" to store all my build artifacts from all project together (hoping to have some cache reuse between projects). So… the file is somewhere else.

Note: When the plugin crash it is really annoying to restart it (at least coming from the "create-rust-plugin" experience).

Workaround create a symlink:

mkdir -p target/wasm32-wasi/debug
ln -s /mnt/Data/Code/Target/Cargo/wasm32-wasip1/debug/zellij-demo-detach.wasm target/wasm32-wasi/debug/zellij-demo-detach.wasm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant