From 22b9c631696b1be92c0ac352ad740b0214a5743c Mon Sep 17 00:00:00 2001 From: Isaac Mann Date: Mon, 12 May 2025 18:25:28 -0400 Subject: [PATCH] chore(core): update inputs for rust tasks --- nx.json | 3 +++ packages/nx/project.json | 2 ++ 2 files changed, 5 insertions(+) diff --git a/nx.json b/nx.json index 181ff1ae2dd52..25d1c457ed488 100644 --- a/nx.json +++ b/nx.json @@ -24,6 +24,9 @@ { "runtime": "node -p '`${process.platform}_${process.arch}`'" }, + { + "runtime": "rustc --version" + }, { "externalDependencies": ["npm:@monodon/rust", "npm:@napi-rs/cli"] } diff --git a/packages/nx/project.json b/packages/nx/project.json index 6555027f3b6b1..2b63d0dd66f0f 100644 --- a/packages/nx/project.json +++ b/packages/nx/project.json @@ -143,6 +143,7 @@ "format-native": { "command": "cargo fmt", "cache": true, + "inputs": ["native"], "options": { "cwd": "{projectRoot}/src/native", "args": ["--all", "--check"] @@ -156,6 +157,7 @@ "lint-native": { "command": "cargo clippy", "cache": true, + "inputs": ["native"], "options": { "cwd": "{projectRoot}/src/native", "args": ["--frozen"]