Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZIP expects unix-style paths here, and passing Windows paths will cause incorrect and broken files to be added to the directory. The `zip` crate's `start_file_from_path` and `add_directory_from_path` normalize these, but they were deprecated without replacement so we need to do the work ourselves. Fixes axodotdev/cargo-dist#873.
- Loading branch information