Skip to content

Commit 6b126b4

Browse files
committed
Fix OUT_DIR handling, use CARGO_TARGET_TMPDIR instead
1 parent 84a8293 commit 6b126b4

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

turbopack/crates/turbo-tasks-backend/tests/test_config.trs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
|name, initial| {
22
let path = std::path::PathBuf::from(
3-
format!("{}/.cache/{}", std::env::var("OUT_DIR").unwrap(), name));
3+
format!("{}/.cache/{}", env!("CARGO_TARGET_TMPDIR"), name));
44
if initial {
55
let _ = std::fs::remove_dir_all(&path);
66
}

turbopack/crates/turbo-tasks-fetch/tests/test_config.trs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
|name, initial| {
22
let path = std::path::PathBuf::from(
3-
format!("{}/.cache/{}", std::env::var("OUT_DIR").unwrap(), name));
3+
format!("{}/.cache/{}", env!("CARGO_TARGET_TMPDIR"), name));
44
if initial {
55
let _ = std::fs::remove_dir_all(&path);
66
}

turbopack/crates/turbopack-trace-utils/src/tracing_presets.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ pub static TRACING_TURBO_TASKS_TARGETS: Lazy<Vec<&str>> = Lazy::new(|| {
6464
&[
6565
"turbo_tasks=trace",
6666
"turbo_tasks_auto_hash_map=trace",
67-
"turbo_tasks_build=trace",
6867
"turbo_tasks_bytes=trace",
6968
"turbo_tasks_env=trace",
7069
"turbo_tasks_fetch=trace",

0 commit comments

Comments
 (0)