From a5c98d5b66ca54a644b9b35106373873ecf13d20 Mon Sep 17 00:00:00 2001 From: Gudge Date: Thu, 11 Jun 2026 08:52:14 -0700 Subject: [PATCH 1/3] Centralize the tempfile dev-dependency in workspace deps This PR lifts the duplicated tempfile dev-dependency into the workspace so crates inherit a single pinned version instead of each pinning tempfile = "3" independently. Details * Add tempfile to [workspace.dependencies] in src/Cargo.toml. * Switch appcontainer/common, wslc/common, and wxc_host_prep from tempfile = "3" to tempfile.workspace = true. Tests * cargo metadata resolves the workspace cleanly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Cargo.toml | 1 + src/backends/appcontainer/common/Cargo.toml | 2 +- src/backends/wslc/common/Cargo.toml | 2 +- src/host/wxc_host_prep/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Cargo.toml b/src/Cargo.toml index 4b83d426..922f8bf1 100644 --- a/src/Cargo.toml +++ b/src/Cargo.toml @@ -108,3 +108,4 @@ widestring = "1" url = "2" winreg = "0.55" mxc_build_common = { path = "core/mxc_build_common" } +tempfile = "3" diff --git a/src/backends/appcontainer/common/Cargo.toml b/src/backends/appcontainer/common/Cargo.toml index a9622810..6a05882e 100644 --- a/src/backends/appcontainer/common/Cargo.toml +++ b/src/backends/appcontainer/common/Cargo.toml @@ -27,4 +27,4 @@ widestring = { workspace = true } winreg = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile.workspace = true diff --git a/src/backends/wslc/common/Cargo.toml b/src/backends/wslc/common/Cargo.toml index 5e367725..2c4980bb 100644 --- a/src/backends/wslc/common/Cargo.toml +++ b/src/backends/wslc/common/Cargo.toml @@ -14,7 +14,7 @@ tar = "0.4" libloading = "0.8" [dev-dependencies] -tempfile = "3" +tempfile.workspace = true [build-dependencies] zip = "2" diff --git a/src/host/wxc_host_prep/Cargo.toml b/src/host/wxc_host_prep/Cargo.toml index 74d33184..3f55c033 100644 --- a/src/host/wxc_host_prep/Cargo.toml +++ b/src/host/wxc_host_prep/Cargo.toml @@ -27,4 +27,4 @@ mxc_build_common = { workspace = true } embed-manifest = "1.4" [dev-dependencies] -tempfile = "3" +tempfile.workspace = true From 77afb74fbd215a8c21f6db46b469c377e7b51d50 Mon Sep 17 00:00:00 2001 From: Gudge Date: Thu, 11 Jun 2026 09:29:38 -0700 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cargo.toml b/src/Cargo.toml index 922f8bf1..0197e75c 100644 --- a/src/Cargo.toml +++ b/src/Cargo.toml @@ -107,5 +107,5 @@ sandbox_spec = { path = "core/generated/base_container_specification" } widestring = "1" url = "2" winreg = "0.55" -mxc_build_common = { path = "core/mxc_build_common" } tempfile = "3" +mxc_build_common = { path = "core/mxc_build_common" } From 2df3165bebdff01e086338ed719f4abf2e686043 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 16:34:02 +0000 Subject: [PATCH 3/3] Switch tempfile to workspace = true in wxc_common and windows_sandbox/daemon --- src/backends/windows_sandbox/daemon/Cargo.toml | 2 +- src/core/wxc_common/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/windows_sandbox/daemon/Cargo.toml b/src/backends/windows_sandbox/daemon/Cargo.toml index b1b29faf..d1df5447 100644 --- a/src/backends/windows_sandbox/daemon/Cargo.toml +++ b/src/backends/windows_sandbox/daemon/Cargo.toml @@ -17,7 +17,7 @@ anyhow.workspace = true uuid.workspace = true [dev-dependencies] -tempfile = "3" +tempfile.workspace = true [build-dependencies] mxc_build_common.workspace = true diff --git a/src/core/wxc_common/Cargo.toml b/src/core/wxc_common/Cargo.toml index 2166dd4c..f58636ea 100644 --- a/src/core/wxc_common/Cargo.toml +++ b/src/core/wxc_common/Cargo.toml @@ -27,4 +27,4 @@ winreg = { workspace = true } libc = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile.workspace = true