Skip to content

Always run cargo from meson, even if main.rs did not change.

Fina Wilke requested to merge (removed):meson-cargo-fixes into main

We can safely assume that cargo will only rebuild things it knows that have changed. Then we don't need to manually specify all source files to meson.

This also stores CARGO_HOME inside the meson build root. This allows the Gnome Builder flatpak-builder plugin to properly cache the cargo dependencies. Otherwise the dependencies would be redownloaded multiple times.

Merge request reports