From 6d77ac17b4414d30384473c667e08199f428d94e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 30 Oct 2021 16:20:52 +0200 Subject: driver: replace dependency cutoff with stub tasks Instead of having the resolver decide whether a dependency is included in the rootfs, let the context replace the task definition with an empty stub. --- crates/driver/src/resolve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/driver/src/resolve.rs') diff --git a/crates/driver/src/resolve.rs b/crates/driver/src/resolve.rs index 9ff5708..35915c0 100644 --- a/crates/driver/src/resolve.rs +++ b/crates/driver/src/resolve.rs @@ -128,7 +128,7 @@ where ctx: &'ctx Context, dep: OutputRef<'ctx>, ) -> Vec> { - if ret.contains(&dep) || ctx.in_rootfs(&dep) { + if ret.contains(&dep) { return Vec::new(); } -- cgit v1.2.3