diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-30 16:20:52 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-30 16:51:42 +0200 |
commit | 6d77ac17b4414d30384473c667e08199f428d94e (patch) | |
tree | bd00f2b6c68f02bc9d632a46b6e1371afc05c1cb /crates/driver/src/resolve.rs | |
parent | 831c3c543e3df14697eb3f8dc89eaf0b08dd4b66 (diff) | |
download | rebel-6d77ac17b4414d30384473c667e08199f428d94e.tar rebel-6d77ac17b4414d30384473c667e08199f428d94e.zip |
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.
Diffstat (limited to 'crates/driver/src/resolve.rs')
-rw-r--r-- | crates/driver/src/resolve.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Error<'ctx>> { - if ret.contains(&dep) || ctx.in_rootfs(&dep) { + if ret.contains(&dep) { return Vec::new(); } |