Skip to content

Commit 6035b52

Browse files
committed
fix(sandbox): satisfy macOS CDI lint
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent f3c61d1 commit 6035b52

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • crates/openshell-sandbox/src

‎crates/openshell-sandbox/src/lib.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,6 +1972,10 @@ fn validate_cdi_projection_mounts_with(
19721972
}
19731973

19741974
#[cfg(not(target_os = "linux"))]
1975+
#[expect(
1976+
clippy::unnecessary_wraps,
1977+
reason = "matches the Linux implementation so shared CDI validation can propagate errors uniformly"
1978+
)]
19751979
fn validate_cdi_projection_mounts(_context: &openshell_core::cdi::CdiContext) -> Result<()> {
19761980
Ok(())
19771981
}

0 commit comments

Comments
 (0)