We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed0148 commit 0a6f671Copy full SHA for 0a6f671
src/cargo/ops/cargo_package.rs
@@ -237,7 +237,7 @@ fn build_ar_list(
237
let rel_str = rel_path.to_str().ok_or_else(|| {
238
anyhow::format_err!("non-utf8 path in source directory: {}", rel_path.display())
239
})?;
240
- match rel_str.as_ref() {
+ match rel_str {
241
"Cargo.lock" => continue,
242
VCS_INFO_FILE | ORIGINAL_MANIFEST_FILE => anyhow::bail!(
243
"invalid inclusion of reserved file name {} in package source",
0 commit comments