mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-09 13:30:03 +00:00
Write to .binstall-crates.toml
in entry
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
7ccbdb2356
commit
2490c08840
1 changed files with 3 additions and 0 deletions
|
@ -345,6 +345,9 @@ async fn entry(jobserver_client: LazyJobserverClient) -> Result<()> {
|
||||||
if !custom_install_path {
|
if !custom_install_path {
|
||||||
debug!("Writing .crates.toml");
|
debug!("Writing .crates.toml");
|
||||||
metafiles::v1::CratesToml::append(metadata_vec.iter())?;
|
metafiles::v1::CratesToml::append(metadata_vec.iter())?;
|
||||||
|
|
||||||
|
debug!("Writing .binstall-crates.toml");
|
||||||
|
metafiles::binstall_v1::append(metadata_vec)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.no_cleanup {
|
if opts.no_cleanup {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue