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 1805f3f commit ac79649Copy full SHA for ac79649
src/cargo/ops/cargo_package/mod.rs
@@ -285,7 +285,8 @@ fn do_package<'a>(
285
// resolved,
286
// so only try to get one if we need it.
287
//
288
- // 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
289
+ // `package.publish`.
290
let mut local_reg = if (deps.has_dependencies() && (opts.include_lockfile || opts.verify))
291
|| opts.reg_or_index.is_some()
292
{
0 commit comments