mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: ignore target-dir to avoid deadlocks during cargo install (#3620)
This commit is contained in:
parent
592e70a1c9
commit
6150571738
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||||
let target = env::var("TARGET").unwrap();
|
let target = env::var("TARGET").unwrap();
|
||||||
let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();
|
let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap();
|
||||||
unsafe {
|
unsafe {
|
||||||
|
env::set_var("CARGO_TARGET_DIR", "target");
|
||||||
env::set_var("VERGEN_GIT_SHA", "Crates.io");
|
env::set_var("VERGEN_GIT_SHA", "Crates.io");
|
||||||
env::set_var("YAZI_CRATE_BUILD", "1");
|
env::set_var("YAZI_CRATE_BUILD", "1");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue