Files
tldr/pages.zh/common/cargo-generate-lockfile.md
Beriholic 33770df77d cargo*: add Chinese translation (#12312)
* cargo-*: add Chinese translation

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-14 10:25:45 +05:30

10 lines
382 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# cargo generate-lockfile
> 为当前包生成 Cargo.lock 文件。类似于 cargo update但选项更少。
> 如果锁定文件已经存在,它将使用每个包的最新版本重新构建。
> 更多信息:<https://doc.rust-lang.org/stable/cargo/commands/cargo-generate-lockfile.html>.
- 使用每个包的最新版本生成Cargo.lock文件
`cargo generate-lockfile`