holmgr / cargo-sweep

A cargo subcommand for cleaning up unused build files generated by Cargo
MIT License
694 stars 31 forks source link

Fails to write a `--stamp` file to the provided path #118

Open marcospb19 opened 9 months ago

marcospb19 commented 9 months ago

Here's the --help message for --stamp:

/// Store timestamp file at the given path, is used by file option
#[arg(short, long)]
stamp: bool,

So one might assume that you can pass a path to the stamp file:

cargo sweep --stamp name_here
Error: Failed to write timestamp file

Caused by:
    No such file or directory (os error 2)