Skip to content

cargo: Meson is not able to automatically handle path dependencies in workspaces #16136

Description

@TitouanReal

Describe the bug
Take two crates in a workspace, foo and bar. foo depends on bar through a path dependency. During setup, Meson isn't able to make the path dep a subproject, and the setup fails. However, Cargo is able to build the project.

To Reproduce
See the minimal reproducer attached.

meson-cargo-path-dep-reproducer.zip

Expected behavior
Meson should be able to build the library

system parameters

  • Native build
  • Linux (GNOME OS)
  • Python 3.14.7
  • Meson version: master

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions