Skip to content

Commit fa2423f

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

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
@@ -1980,6 +1980,10 @@ fn validate_cdi_projection_mounts_with(
19801980
}
19811981

19821982
#[cfg(not(target_os = "linux"))]
1983+
#[expect(
1984+
clippy::unnecessary_wraps,
1985+
reason = "matches the Linux implementation so shared CDI validation can propagate errors uniformly"
1986+
)]
19831987
fn validate_cdi_projection_mounts(_context: &openshell_core::cdi::CdiContext) -> Result<()> {
19841988
Ok(())
19851989
}

0 commit comments

Comments
 (0)