mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
fix: CARGO_TARGET_DIR_freeze (#9114)
This commit is contained in:
@@ -129,6 +129,10 @@ fn check_wasm_toolchain_installed(
|
||||
let mut run_cmd = cargo_command.command();
|
||||
run_cmd.args(&["run", "--manifest-path", &manifest_path]);
|
||||
|
||||
// Unset the `CARGO_TARGET_DIR` to prevent a cargo deadlock
|
||||
build_cmd.env_remove("CARGO_TARGET_DIR");
|
||||
run_cmd.env_remove("CARGO_TARGET_DIR");
|
||||
|
||||
build_cmd
|
||||
.output()
|
||||
.map_err(|_| err_msg.clone())
|
||||
|
||||
Reference in New Issue
Block a user