Bind .cargo/git dir with link_cargo_registry

This commit is contained in:
Stephen Seo 2023-02-28 11:49:06 +09:00
parent a3e5c88835
commit ed27852353

View file

@ -1072,6 +1072,11 @@ def update_pkg_list(
3, 3,
f'{os.environ["HOME"]}/.cargo/registry:/build/.cargo/registry', f'{os.environ["HOME"]}/.cargo/registry:/build/.cargo/registry',
) )
command_list.insert(4, "-d")
command_list.insert(
5,
f'{os.environ["HOME"]}/.cargo/git:/build/.cargo/git',
)
# log_print(f"Using command list: {command_list + post_command_list}") # DEBUG # log_print(f"Using command list: {command_list + post_command_list}") # DEBUG
with open( with open(
os.path.join( os.path.join(