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 89fe81b commit 4b291a0Copy full SHA for 4b291a0
src/cargo/ops/cargo_package/mod.rs
@@ -272,7 +272,8 @@ fn do_package<'a>(
272
// resolved,
273
// so only try to get one if we need it.
274
//
275
- // If they explicitly passed a registry on the CLI, we check it no matter what.
+ // If they explicitly passed a registry on the CLI, we check it no matter what to verify
276
+ // `package.publish`.
277
let mut local_reg = if (deps.has_dependencies() && (opts.include_lockfile || opts.verify))
278
|| opts.reg_or_index.is_some()
279
{
0 commit comments