Skip to content

Crash when compilation target is not present #1

@Zykino

Description

@Zykino

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions