Y
Hacker News
new
|
ask
|
show
|
jobs
by
CraigJPerry
1519 days ago
I don’t follow - I’m saying the cargo.lock isn’t read unless you specify —locked - I’m not talking about when it gets refreshed?
1 comments
heftig
1519 days ago
Yes, it's always read. If the file didn't require updating, a build with and without `--locked` will be identical. If it did require updating, `--locked` will make cargo exit with an error.
link
CraigJPerry
1519 days ago
Gotcha, makes sense
link