We pass --locked otherwise!
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
enough to fool cargo. After cargo has run, the resulting
`Cargo.lock` is copied back to the source tree.
enough to fool cargo. After cargo has run, the resulting
`Cargo.lock` is copied back to the source tree.
- This makes no sense with in-tree builds.
-
Default is no update unless the cargo subcommand will want it.
* `-c` | `-C`
Default is no update unless the cargo subcommand will want it.
* `-c` | `-C`
my $use = cfgs qw(oot use);
unless (defined($oot_dir) || defined($use) ||
defined(cfg_uc qw(oot user))) {
my $use = cfgs qw(oot use);
unless (defined($oot_dir) || defined($use) ||
defined(cfg_uc qw(oot user))) {
- die "$self: specified --cargo-lock-update but not out-of-tree build!\n"
- if $cargo_lock_update;
- $cargo_lock_update=0;
return;
}
if (($use//'') eq 'disable') {
return;
}
if (($use//'') eq 'disable') {