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

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.
Gotcha, makes sense