Skip to content

target dir and compiled wasm is not found when using a workspace #252

Closed
@colemickens

Description

@colemickens

https://github.com/atom/xray uses a workspace.

As I'm trying to move it to wasm-pack, I'm getting stuck due to it looking for target/ next to the local Cargo.toml, instead of the top-level workspace target/ dir next to the top-level Cargo.toml/Cargo.lock.

xray/
 | - target/wasm32-unknown-unknown/...
 | - xray_wasm/Cargo.toml # the project using wasm-pack/wasm-bindget
 | - Cargo.toml # the workspace toml

But it only looks for xray_wasm/target/....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions