summaryrefslogtreecommitdiffstats
path: root/src/executor.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-19 17:47:07 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-19 19:10:04 +0200
commit754c900b663233cb10ecf52a92bc832794599640 (patch)
tree1632343c77c95a23bcfd6574305dcd380415db06 /src/executor.rs
parent8f6a678b9317696238dee75c2e9e480034bd7fe1 (diff)
downloadrebel-754c900b663233cb10ecf52a92bc832794599640.tar
rebel-754c900b663233cb10ecf52a92bc832794599640.zip
Rename "target depends" to "depends"
Internally, the name "host depends" is used to match GNU build/host/target terms.
Diffstat (limited to 'src/executor.rs')
-rw-r--r--src/executor.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/executor.rs b/src/executor.rs
index b35f6a4..b9cd400 100644
--- a/src/executor.rs
+++ b/src/executor.rs
@@ -145,11 +145,11 @@ impl<'ctx> Executor<'ctx> {
.map(|&output| Dependency::BuildTask { output }),
)
.chain(
- resolve::runtime_depends(self.ctx, self.ctx.get_target_depends(task))
- .expect("invalid runtime depends of target_depends")
+ resolve::runtime_depends(self.ctx, self.ctx.get_host_depends(task))
+ .expect("invalid runtime depends of host_depends")
.iter()
.filter_map(|dep| self.tasks_done[&dep.task].output.get(dep.output))
- .map(|&output| Dependency::TargetTask { output }),
+ .map(|&output| Dependency::HostTask { output }),
)
.map(|dep| (dep.dependency_hash(), dep))
.collect()