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 c00c81a commit 89fe81bCopy full SHA for 89fe81b
src/cargo/ops/cargo_package/mod.rs
@@ -270,8 +270,9 @@ fn do_package<'a>(
270
271
// The publish registry doesn't matter unless there are local dependencies that will be
272
// resolved,
273
- // so only try to get one if we need it. If they explicitly passed a
274
- // registry on the CLI, we check it no matter what.
+ // so only try to get one if we need it.
+ //
275
+ // If they explicitly passed a registry on the CLI, we check it no matter what.
276
let mut local_reg = if (deps.has_dependencies() && (opts.include_lockfile || opts.verify))
277
|| opts.reg_or_index.is_some()
278
{
0 commit comments