Skip to content

Commit

Permalink
fix transient flag for LocalOutput and add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra authored and bgw committed Jan 10, 2025
1 parent 24b74f3 commit a50b77b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions turbopack/crates/turbo-tasks/src/raw_vc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,11 @@ impl RawVc {

pub fn is_transient(&self) -> bool {
match self {
RawVc::TaskOutput(task) | RawVc::TaskCell(task, _) => task.is_transient(),
RawVc::LocalOutput(_, _) | RawVc::LocalCell(_, _) => true,
RawVc::TaskOutput(task) | RawVc::TaskCell(task, _) | RawVc::LocalOutput(task, _) => {
task.is_transient()
}
// TODO track the transient flag in the highest bit of the execution id
RawVc::LocalCell(_, _) => todo!(),
}
}

Expand Down

0 comments on commit a50b77b

Please sign in to comment.