Skip to content

Commit

Permalink
chore(turbo-tasks): Remove dead/broken features from turbo-tasks & tu…
Browse files Browse the repository at this point in the history
…rbo-tasks-memory (vercel#68817)

These features either have no code depending on them, or their code is
broken.

## Test Plan

```
cargo check
```
  • Loading branch information
bgw authored Aug 13, 2024
1 parent 226bd00 commit f1ffc91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
10 changes: 0 additions & 10 deletions turbopack/crates/turbo-tasks-memory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,7 @@ turbo-tasks-build = { workspace = true }

[features]
track_unfinished = []
track_wait_dependencies = []
unsafe_once_map = []
log_running_tasks = []
log_scheduled_tasks = []
log_activate_tasks = []
log_connect_tasks = []
report_expensive = []
print_scope_updates = []
print_task_invalidation = []
inline_add_to_scope = []
inline_remove_from_scope = []
default = []

[[bench]]
Expand Down
4 changes: 0 additions & 4 deletions turbopack/crates/turbo-tasks-memory/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ impl TaskState {
output: Default::default(),
cells: Default::default(),
gc: Default::default(),
#[cfg(feature = "track_wait_dependencies")]
last_waiting_task: Default::default(),
}
}

Expand All @@ -201,8 +199,6 @@ impl TaskState {
output: Default::default(),
cells: Default::default(),
gc: Default::default(),
#[cfg(feature = "track_wait_dependencies")]
last_waiting_task: Default::default(),
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions turbopack/crates/turbo-tasks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ bench = false

[features]
default = []
assert_task_state = []
tokio_tracing = ["tokio/tracing"]
log_function_stats = []
hanging_detection = []

[lints]
Expand Down

0 comments on commit f1ffc91

Please sign in to comment.