shadowsocks-rust: Can't build with --locked

If I run cargo fetch with --locked I get an error:

error: the lock file /tmp/makepkg/shadowsocks-rust/src/shadowsocks-rust-1.13.1/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.

shadowsocks-rust version 1.13.1

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

That was interesting! How to reproduce that?

It’s not really related to this project, but if you are curious, Arch Linux’s build system can be configured to enable LTO by including lto in OPTIONS in /etc/makepkg.conf. It probably has nothing to do with Rust’s LTO.