Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo lockfile outdated #853

Closed
harens opened this issue Apr 22, 2021 · 0 comments · Fixed by #854
Closed

Cargo lockfile outdated #853

harens opened this issue Apr 22, 2021 · 0 comments · Fixed by #854

Comments

@harens
Copy link
Contributor

harens commented Apr 22, 2021

Commit 293372a
rustc 1.51.0
macOS 11.1 20C69 on x86_64
Xcode 12.4 12D4e

rustc --print cfg
debug_assertions
target_arch="x86_64"
target_endian="little"
target_env=""
target_family="unix"
target_feature="fxsr"
target_feature="sse"
target_feature="sse2"
target_feature="sse3"
target_feature="ssse3"
target_os="macos"
target_pointer_width="64"
target_vendor="apple"
unix

Back in 293372a, the version number was changed to 0.10.1, but I don't think the cargo.lock was updated with it. This resulted in a build error when compiling with MacPorts.

> cargo build --release --frozen
error: the lock file /Users/harensamarasinghe/exa/Cargo.lock needs to be updated but --frozen was passed to prevent this
If you want to try to generate the lock file without accessing the network, use the --offline flag.

The current workaround workaround for this is to remove the --frozen flag (as the MacPorts portfile does here), but obviously it would be nice to fix the issue upstream. Since this should be an easy issue to fix, I'll send a PR to do so shortly.

Thank you for maintaining this project! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant