#16136·meson

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

Author: TitouanRealCreated Aug 23, 2026Updated Sep 10, 2026
Labelsdocumentationmodule:rust

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