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 df48f0c commit 1805f3fCopy full SHA for 1805f3f
src/cargo/ops/cargo_package/mod.rs
@@ -283,8 +283,9 @@ fn do_package<'a>(
283
284
// The publish registry doesn't matter unless there are local dependencies that will be
285
// resolved,
286
- // so only try to get one if we need it. If they explicitly passed a
287
- // registry on the CLI, we check it no matter what.
+ // so only try to get one if we need it.
+ //
288
+ // If they explicitly passed a registry on the CLI, we check it no matter what.
289
let mut local_reg = if (deps.has_dependencies() && (opts.include_lockfile || opts.verify))
290
|| opts.reg_or_index.is_some()
291
{
0 commit comments