diff --git a/.yarn/versions/fdaa96bc.yml b/.yarn/versions/fdaa96bc.yml new file mode 100644 index 00000000000..1f2a5d9c201 --- /dev/null +++ b/.yarn/versions/fdaa96bc.yml @@ -0,0 +1,9 @@ +releases: + "@moonrepo/cli": patch + "@moonrepo/core-linux-arm64-gnu": patch + "@moonrepo/core-linux-arm64-musl": patch + "@moonrepo/core-linux-x64-gnu": patch + "@moonrepo/core-linux-x64-musl": patch + "@moonrepo/core-macos-arm64": patch + "@moonrepo/core-macos-x64": patch + "@moonrepo/core-windows-x64-msvc": patch diff --git a/crates/rust/platform/src/rust_platform.rs b/crates/rust/platform/src/rust_platform.rs index a6a263860c4..284ae58f6b9 100644 --- a/crates/rust/platform/src/rust_platform.rs +++ b/crates/rust/platform/src/rust_platform.rs @@ -89,8 +89,8 @@ impl Platform for RustPlatform { // PROJECT GRAPH fn is_project_in_dependency_workspace(&self, _project: &Project) -> Result { - // Always assume Cargo is running from the root - Ok(true) + // moon requires a Rust project to be the root of the Cargo workspace + Ok(false) } fn load_project_graph_aliases( diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 57951e6c843..b2102588e98 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Unreleased + +#### 🐞 Fixes + +- Rust + - Fixed an issue where `cargo generate-lockfile` would run in the wrong directory. + ## 1.7.1 #### 🐞 Fixes