feat(cli): move regular-file removal to Rust
Route the CLI backend's safe file-removal leaf through a narrow Rust status ABI while preserving C diagnostics, Windows read-only handling, and the existing return convention. Test Plan: cargo test --manifest-path rust/cli/Cargo.toml; cargo clippy --manifest-path rust/cli/Cargo.toml; cargo clippy --manifest-path rust/cli/Cargo.toml --benches; cargo clippy --manifest-path rust/cli/Cargo.toml --tests; make -B -C programs -j2 zstd; make -C tests -j2 test-cli-tests (41 tests); make -B -C programs -j2 zstd-small zstd-frugal.
This commit is contained in:
@@ -11,6 +11,9 @@ mod datagen;
|
||||
#[path = "../../src/dibio.rs"]
|
||||
mod dibio;
|
||||
#[cfg(feature = "cli")]
|
||||
#[path = "../../src/fileio_backend.rs"]
|
||||
mod fileio_backend;
|
||||
#[cfg(feature = "cli")]
|
||||
#[path = "../../src/fileio_prefs.rs"]
|
||||
mod fileio_prefs;
|
||||
#[cfg(any(feature = "benchmark", feature = "helpers"))]
|
||||
|
||||
Reference in New Issue
Block a user