From 11cedfba4f7da70d2d195213d053dc44cfa0d1cd Mon Sep 17 00:00:00 2001 From: Mihail Mihov Date: Sat, 13 Aug 2022 18:19:37 +0300 Subject: [PATCH] Update methods in `InputFieldIngredient` --- components/salsa-2022/src/input_field.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/salsa-2022/src/input_field.rs b/components/salsa-2022/src/input_field.rs index 94692d80..06e7b2ba 100644 --- a/components/salsa-2022/src/input_field.rs +++ b/components/salsa-2022/src/input_field.rs @@ -1,7 +1,7 @@ use crate::cycle::CycleRecoveryStrategy; use crate::ingredient::Ingredient; use crate::key::DependencyIndex; -use crate::runtime::local_state::QueryEdges; +use crate::runtime::local_state::QueryOrigin; use crate::runtime::StampedValue; use crate::{AsId, DatabaseKeyIndex, Durability, Id, IngredientIndex, Revision, Runtime}; use rustc_hash::FxHashMap; @@ -86,11 +86,11 @@ where self.map.get(&key).unwrap().changed_at > revision } - fn inputs(&self, _key_index: Id) -> Option { + fn origin(&self, _key_index: Id) -> Option { None } - fn remove_stale_output(&self, _executor: DatabaseKeyIndex, _stale_output_key: Option) { - todo!() - } + fn mark_validated_output(&self, _db: &DB, _executor: DatabaseKeyIndex, _output_key: Id) {} + + fn remove_stale_output(&self, _db: &DB, _executor: DatabaseKeyIndex, _stale_output_key: Id) {} }