Skip to content

Commit 15639fe

Browse files
committed
chore(sidecars): allow unused pkg_path under default features
`pkg_path` is consumed only by the cargo + nuget arms, both behind feature gates. Without those features (the release default) the parameter is unused. Suppress the warning to keep release builds warning-free. Assisted-by: Claude Code:claude-opus-4-7
1 parent 656bc8c commit 15639fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • crates/socket-patch-core/src/patch/sidecars

‎crates/socket-patch-core/src/patch/sidecars/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ pub enum SidecarError {
6565
/// (using the same convention as `apply_package_patch.files_patched`).
6666
/// `files` is the original patch file map (used to distinguish new
6767
/// files from modified files via `before_hash.is_empty()`).
68+
#[allow(unused_variables)] // `pkg_path` is feature-gated below
6869
pub async fn dispatch_fixup(
6970
package_key: &str,
7071
pkg_path: &Path,

0 commit comments

Comments
 (0)