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

Document cargo install --locked --no-track #2191

Open
wolfv opened this issue May 23, 2024 · 1 comment
Open

Document cargo install --locked --no-track #2191

wolfv opened this issue May 23, 2024 · 1 comment

Comments

@wolfv
Copy link
Member

wolfv commented May 23, 2024

Where should the content be added?

In the knowledge base or even as a linter

What should be added?

We should (force) people to use cargo install --locked --no-track. The --no-track option prevents cargo from writing $PREFIX/.crates2.json and $PREFIX/.crates.toml files.

If that option is not used, all Rust packages clobber each other.

Additional information

No response

@xhochy
Copy link
Member

xhochy commented May 23, 2024

We could probably make a linter out of this.

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

No branches or pull requests

2 participants